Function yewdux::functional::use_store_value
source · pub fn use_store_value<'hook, S>() -> impl 'hook + Hook<Output = Rc<S>>where
S: 'hook + Store,
Expand description
Simliar to [‘use_store’], but only provides the state.
Note
When used in function components and hooks, this hook is equivalent to:
pub fn use_store_value<S: Store>() -> Rc<S> {
/* implementation omitted */
}