State

Type Alias State 

Source
pub type State<T> = (Rc<T>, Rc<dyn Fn(T)>);
Expand description

The type returned from a use_state hook