useState

Function useState 

Source
pub fn useState<T: Clone + 'static>(init: impl FnOnce() -> T) -> MutableState<T>