MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/72lh17/react_16/dnkl42a/?context=3
r/javascript • u/batmansmk • Sep 26 '17
63 comments sorted by
View all comments
83
It's an impressive release. Here is the gist: Among the changes are some long-standing feature requests, including:
fragments,
error boundaries,
portals,
support for custom DOM attributes,
improved server-side rendering,
reduced file size
MIT license,
Fiber
2 u/rottenanon Sep 27 '17 fragmentsIn the blog they mention, "now you can return an array from render". Wasn't this always the case? :-/I understand returning from string render is new, but could someone tell me what else is new in fragments? 9 u/Savageman Sep 27 '17 Until now every render needed a single top-level HTML element.
2
fragments
In the blog they mention, "now you can return an array from render". Wasn't this always the case? :-/
I understand returning from string render is new, but could someone tell me what else is new in fragments?
render
9 u/Savageman Sep 27 '17 Until now every render needed a single top-level HTML element.
9
Until now every render needed a single top-level HTML element.
83
u/batmansmk Sep 26 '17
It's an impressive release. Here is the gist: Among the changes are some long-standing feature requests, including:
fragments,
error boundaries,
portals,
support for custom DOM attributes,
improved server-side rendering,
reduced file size
MIT license,
Fiber