What's Changed
redraw
Remove DOM attributes and elements in favour ofredraw_dom
. Keep only React
core to simplify support for all flavours of React (DOM, Native, etc.). This
decrease package size when DOM is unused.redraw_dom
Bump dependencies versions requirements.redraw_dom
Changecreate_root
,hydrate_root
&create_portal
to return
Result(a, Nil)
instead ofa
. Those functions are now nicer to use, and can
easily be overriden usinglet assert
.redraw_dom
Rename modules to improve namespacing.create_root
,hydrate_root
&
render
now belongs toredraw/dom/client
.create_portal
&flush_sync
belongs toredraw/dom
.redraw_dom
Add DOM elements, attributes and events handling inreact/dom
namespace from
redraw
.
Full Changelog: v1.1.1...v2.0.0