@@ -61,7 +61,7 @@ engines must install their own `globalThis` polyfill before FAST loads.
6161
6262### FAST Global
6363
64- ** File** : ` src/platform.ts ` , ` src/interfaces .ts `
64+ ** File** : ` src/platform.ts ` , ` src/kernel .ts `
6565
6666` FAST ` is a singleton object attached to ` globalThis ` . It provides:
6767
@@ -171,6 +171,10 @@ This gives FAST automatic, fine-grained dependency tracking without explicit dec
171171
172172` normalizeBinding(value) ` converts raw arrow functions or static values into a ` Binding ` object.
173173
174+ Optional binding helpers remain on dedicated public subpaths:
175+ ` @microsoft/fast-element/binding/two-way.js ` and
176+ ` @microsoft/fast-element/binding/signal.js ` .
177+
174178---
175179
176180### html Tagged Template Literal
@@ -344,11 +348,14 @@ the imperative `html` API:
344348- ` ObserverMap ` and ` AttributeMap ` layer on top of the core observable and
345349 attribute-definition systems.
346350
347- The ` src/declarative.ts ` entrypoint owns the declarative-only side effects:
348- registering debug messages and installing hydratable view templates. This keeps
349- the root ` @microsoft/fast-element ` barrel free of declarative side effects and
350- utility-subpath collisions. See [ ` DECLARATIVE_DESIGN.md ` ] ( ./DECLARATIVE_DESIGN.md )
351- for the detailed architecture.
351+ The ` src/declarative.ts ` entrypoint owns the declarative-only exports and
352+ registers debug messages for that runtime. This keeps the root
353+ ` @microsoft/fast-element ` barrel free of declarative APIs, while hydration
354+ support stays built into ` ViewTemplate ` and low-level hydration APIs remain on
355+ the dedicated ` src/components/hydration.ts ` and
356+ ` src/components/hydration-tracker.ts ` modules. See
357+ [ ` DECLARATIVE_DESIGN.md ` ] ( ./DECLARATIVE_DESIGN.md ) for the detailed
358+ architecture.
352359
353360---
354361
@@ -510,9 +517,10 @@ Below is a conceptual map of the major subsystems and their relationships:
510517
511518```
512519src/
513- ├── interfaces.ts # Core types: Callable, Constructable, FASTGlobal, Message codes
514- ├── platform.ts # FAST global initialisation, KernelServiceId, TypeRegistry
515- ├── declarative.ts # Declarative entrypoint (debug messages + hydratable view install)
520+ ├── kernel.ts # FASTGlobal and KernelServiceId
521+ ├── interfaces.ts # Core types: Callable, Constructable, Message codes
522+ ├── platform.ts # FAST global initialisation and TypeRegistry
523+ ├── declarative.ts # Declarative entrypoint (debug messages + declarative exports)
516524├── dom.ts # DOMAspect enum, DOMPolicy, DOMSink
517525├── dom-policy.ts # Default DOM security policy (TrustedTypes integration)
518526├── metadata.ts # Reflect-based metadata helpers
@@ -525,11 +533,13 @@ src/
525533│ └── update-queue.ts # Updates (UpdateQueue)
526534├── binding/
527535│ ├── binding.ts # Binding abstract base class, BindingDirective
536+ │ ├── signal.ts # signal() and Signal
537+ │ ├── two-way.ts # twoWay()
528538│ ├── one-way.ts # oneWay, listener
529539│ ├── one-time.ts # oneTime
530540│ └── normalize.ts # normalizeBinding helper
531541├── templating/
532- │ ├── template.ts # ViewTemplate, html tag, InlineTemplateDirective
542+ │ ├── template.ts # ViewTemplate, html tag, InlineTemplateDirective, hydration
533543│ ├── compiler.ts # Compiler, CompilationContext
534544│ ├── view.ts # HTMLView, ElementView, SyntheticView
535545│ ├── html-directive.ts # HTMLDirective, ViewBehavior, ViewBehaviorFactory
551561│ ├── fast-element.ts # FASTElement, @customElement
552562│ ├── element-controller.ts # ElementController, Stages
553563│ ├── fast-definitions.ts # FASTElementDefinition, TemplateOptions
564+ │ ├── hydration.ts # HydrationMarkup and hydration helpers
554565│ └── attributes.ts # AttributeDefinition, @attr, converters
555566├── di/
556567│ └── di.ts # DI container, decorators, resolvers, Registration
564575│ ├── utilities.ts # Declarative parsing and proxy utilities
565576│ └── syntax.ts # Declarative syntax constants
566577├── state/
578+ │ ├── exports.ts # Focused state entrypoint (state.js)
567579│ ├── state.ts # state() helper (beta)
568580│ └── watch.ts # watch() helper (beta)
569581└── hydration/
0 commit comments