use_state_with

Function use_state_with 

Source
pub fn use_state_with(
    initial_state: &mut dyn FnMut() -> JsValue,
) -> Box<[JsValue]>