pub fn use_dispatch<'hook, S>() -> impl 'hook + Hook<Output = Dispatch<S>>
where S: 'hook + Store,
Expand description

Note

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

pub fn use_dispatch<S: Store>() -> Dispatch<S> {
    /* implementation omitted */
}