Function react::use_ref_js_with
source · [−]pub fn use_ref_js_with<T: ToJs + FromJs, F: FnOnce() -> T>(
get_initial_value: F
) -> MutableRefJs<T>
pub fn use_ref_js_with<T: ToJs + FromJs, F: FnOnce() -> T>(
get_initial_value: F
) -> MutableRefJs<T>