-
BREAKING: Removed
callback!and introducedclones!macroInstead of writing
let cb = callback!(clones(mut state, read_state), move |…| …);
you can write:
let cb = Callback::new({ clones!(mut state, read_state); move |…| … });
-
BREAKING:
ValueContainerhas been renamed toPropContainer, andValueContainerReftoPropContainerRefaccordingly -
BREAKING: Removed
ContextProvider::children()method, useContextProvider::build()instead -
BREAKING: Removed
Persistenttrait -
use_effect()anduse_layout_effect()can now handle closures which return()as a noop destructor