@microsoft/fast-element > HydratableElementController > needsHydration

HydratableElementController.needsHydration property

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Controls whether the controller will hydrate during the connect() method. Initialized during the first connect() call to true when the needs-hydration attribute is present on the element.

Signature:

protected needsHydration?: boolean;