-
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:
ValueContainer
has been renamed toPropContainer
, andValueContainerRef
toPropContainerRef
accordingly -
BREAKING: Removed
ContextProvider::children()
method, useContextProvider::build()
instead -
BREAKING: Removed
Persistent
trait -
use_effect()
anduse_layout_effect()
can now handle closures which return()
as a noop destructor