Skip to main content

default_nonmutating_hook

Function default_nonmutating_hook 

Source
pub fn default_nonmutating_hook(registry: &mut ShapeRegistry) -> Type
Expand description

Default type for hooks when enableAssumeHooksFollowRulesOfReact is true. Matches TS DefaultNonmutatingHook.