Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@ghivert ghivert released this 24 Dec 00:32
1e86b56

What's Changed

  • redraw Remove DOM attributes and elements in favour of redraw_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 Change create_root, hydrate_root & create_portal to return
    Result(a, Nil) instead of a. Those functions are now nicer to use, and can
    easily be overriden using let assert.
  • redraw_dom Rename modules to improve namespacing. create_root, hydrate_root &
    render now belongs to redraw/dom/client. create_portal & flush_sync
    belongs to redraw/dom.
  • redraw_dom Add DOM elements, attributes and events handling in react/dom namespace from
    redraw.

Full Changelog: v1.1.1...v2.0.0