React 16 Beta released!

The initial React 16.0 release is mostly focused on compatibility with existing apps. It does not enable asynchronous rendering yet.

There a few other changes you should be aware of, as they might affect your use of React 16:

⚛️ Some of the most requested features are now enabled like: returning arrays from render, recovering from component errors, and readable component stack traces for every error.

⚛️ React 16 depends on the collection types Map and Set. If you support older browsers and devices which may not yet provide these natively (eg <IE11), consider including a global polyfill in your bundled application, such as core-js or babel-polyfill.

⚛️ Third party libraries that relied on deprecated or unsupported APIs may need updates to work correctly with this new release.

⚛️ The server renderer has been completely rewritten, and now offers a streaming mode (it’s currently exposed via react-dom/node-stream but this might change). Server rendering does not use markup validation anymore, and instead tries its best to attach to existing DOM, warning about inconsistencies.

I don't know about you, but I'm excited for this latest release and for all the new changes that are coming to make React apps faster & better.

Happy Coding!

-Sophia Shoemaker

 

Videos

Tutorials





About


Like what you've been reading from Fullstack React? You can help us spread the word. Please forward this email to you friends (and let them know they can subscribe here).


Follow us on Twitter


Curated with love by Sophia Shoemaker and the Fullstack.io team.

Suggestions are welcome, just reply to this email - we'd love to hear from you.