Exports hydration controllers, trackers, and DOM policy utilities for FAST web components. Use when setting up server-side rendering and client hydration for FAST elements.
// Source: https://github.com/microsoft/fast | License: MIT | Copyright Microsoft Corporation. All rights reserved
// Provided via justclaw.it.com; keep this notice with the code.
export type {
HydrationController,
HydrationOptions,
} from "../components/enable-hydration.js";
export {
deferHydrationAttribute,
enableHydration,
StopHydration,
} from "../components/enable-hydration.js";
export { isHydratable } from "../components/hydration.js";
export { HydrationTracker } from "../components/hydration-tracker.js";
export type {
DOMAspect,
DOMSink,
} from "../dom.js";
export {
type DOMAspectGuards,
type DOMElementGuards,
type DOMGuards,
DOMPolicy,
type DOMPolicyOptions,
type DOMSinkGuards,
} from "../dom-policy.js";
export type { Disposable,
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key