Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.45 KB

FUTURE.md

File metadata and controls

21 lines (16 loc) · 1.45 KB

Like HISTORY.md, but for planned future versions and subject to change. The vocabulary here uses the past tense, to pretend that the versions are already published.

Far into the future

  • Static tree (prevents top-level component switching, enables destructuring of owned tree).
  • Getting rid of keys altogether in the common case.
  • Getting rid of ref.
  • Making a great list abstraction to model dynamically changing lists/scrollers.

0.2.4

  • Added defaultChecked to DOM attribute (#29).

  • Fix stateless components's willReceiveProps's return value. It's now unit again.

  • Remove create-react-class. Now we're back to being dependency-less, and you can now use ReasonReact without dev-time bundling, or use rollup, or webpack as usual. Related post: https://medium.com/@chenglou/mareo-reason-bucklescript-mario-205ce4c1cbe5

  • enqueue. Best thing ever.

  • Secret (feature-that-must-not-be-named)

  • Set lifecycles to null when they do nothing. React skips over lifecycles that are set to null, we currently have wrappers around all of them, so things like didMount are enqueued for every component.

  • ReactDOMRe.createElement (usually used through the JSX <div> foo </div>) has a new implementation that fixes an inadvertent children key warning in the previous version.

  • either rename willReceiveProps to propsReceived, or keep the same name and make it take oldNew self bag

  • better modeling for stateless and retainedProps from unit to something else