Function consecuit::hooks::use_ref[][src]

pub fn use_ref<T>(cc: HookBuilder, _: ()) -> impl HookReturn<Reference<T>> where
    T: Default + 'static, 
Expand description

Use a Reference.

The components of the consecuit_html crate can take a reference as prop, giving you a handle to the underlying web_sys handle of the component. See the consecuit_html crate documentations for more.