Function wasm_react::hooks::use_callback

source ·
pub fn use_callback<T, U, D>(f: Callback<T, U>, deps: Deps<D>) -> Callback<T, U>where
    T: 'static,
    U: 'static,
    D: PartialEq + 'static,
Expand description

Returns a memoized callback.