Hook for adding a custom
deployedWhen method to a function component.
export declare function useDeployedWhen(deployedWhen: DeployedWhenMethod, options?: UseDeployedWhenOptions): void;
Adding a custom
deployedWhen method to a component allows the component to directly control when the component can be considered deployed.
For more information on using
deployedWhen methods, see Adapt.DeployedWhenMethod.
For components that do not add a custom
deployedWhen method, the default behavior is that a component becomes deployed when all of it's successors and children have been deployed. See defaultDeployedWhen() for more information.