Function use_sx

Source
pub fn use_sx<'hook, Source>(
    source: Source,
) -> impl 'hook + Hook<Output = SxRef>
where Source: Into<Sx> + 'hook,
Expand description

ยงNote

When used in function components and hooks, this hook is equivalent to:

pub fn use_sx<Source>(source: Source) -> SxRef
where
    Source: Into<Sx>,
{
    /* implementation omitted */
}