pub fn use_side_effects<T>() -> Option<SideEffects<T>>
where
    T: PartialEq + 'static,
{
    use_store::<T>().map(|m| m.get())
}
/// A hook to read side effect.
A hook to read side effect.
A hook to read side effect .
pub fn use_side_effects<T>() -> Option<SideEffects<T>>
where
    T: PartialEq + 'static,
{
    use_store::<T>().map(|m| m.get())
}
pub fn use_side_effects < T > ( ) -> Option < SideEffects < T > > where T : PartialEq + ' static , { use_store :: < T > ( ) . map ( | m | m . get ( ) ) }
A hook to read side effect.
A hook to read side effect .