r/webdev • u/swellconstellations • Sep 26 '17
React 16
https://facebook.github.io/react/blog/2017/09/26/react-v16.0.html5
u/Not_a_spambot Sep 27 '17
Error boundaries are heeeeeere you guys I've been waiting for this for so long
3
u/demar_derozan_ Sep 27 '17
I'm really excited to see how asynchronous rendering works. Anyone know when that's going into beta/being released? The link says in the coming months..
3
u/Soccham Sep 27 '17
https://twitter.com/acdlite/status/909926793536094209
Here's a preview tweet from the article with an example of it working.
0
0
Sep 26 '17
[deleted]
8
Sep 26 '17
No good sir, said license has been changed.
2
u/Soccham Sep 26 '17
yup, I'm just expecting complaints regardless even though I enjoy using all of the big 3.
4
15
u/poop_city_paradise Sep 26 '17
More like insert snarky first comment without actually reading the updates :)
38
u/Soccham Sep 26 '17
tl;dr
Changed to MIT License
Render function can now return fragments/arrays and strings
Portals built in
Better Error handling + error boundaries
custom DOM attribute support
Smaller file size (react + react dom are 109kb/34.8kb gzipped, down from 161.7kb/49.8kb gzipped)
Better server-side rendering (completely rewritten server renderer, 3x faster)
New Core Architecture, same client facing API