@microsoft/fast-element > isHydratable

isHydratable() function

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.

Tests if a template or ViewController is hydratable.

Signature:

export declare function isHydratable(view: ViewController): view is HydrationView;

Parameters

Parameter

Type

Description

view

ViewController

Returns:

view is HydrationView