UNPKG

772 BTypeScriptView Raw
1import React from 'react';
2interface ImportedState {
3 usesHydration: boolean;
4 pastHydration: boolean;
5}
6export declare const importedState: React.Context<ImportedState | undefined>;
7export declare const HydrationState: React.FC<{
8 state: ImportedState;
9}>;
10/**
11 * @see [LazyBoundary]{@link LazyBoundary} - HydrationController is required for LazyBoundary to properly work with React>16.10
12 * Established a control over LazyBoundary suppressing fallback during the initial hydration
13 * @param props
14 * @param [props.usesHydration=true] determines of Application is rendered using hydrate
15 */
16export declare const ImportedController: React.FC<{
17 /**
18 * determines of Application is rendered using hydrate
19 */
20 usesHydration?: boolean;
21}>;
22export {};