pub fn use_effect_on_each_render(effect: JsValue)
Expand description

React.useEffect(effect)

Safety

effect should be a js function.

It can the value returned from Closure::once_into_js().