MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/72lh17/react_16/dnjega9/?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
22 u/jocull Sep 27 '17 Now you're thinking with portals...? 6 u/Amadox Sep 27 '17 ...this coming from a guy who has his reddit-cake-day today... even though we all know, the cake is a lie... 7 u/SomeRandomBuddy Sep 26 '17 Fuck. Great release. 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.
22
Now you're thinking with portals...?
6 u/Amadox Sep 27 '17 ...this coming from a guy who has his reddit-cake-day today... even though we all know, the cake is a lie...
6
...this coming from a guy who has his reddit-cake-day today... even though we all know, the cake is a lie...
7
Fuck. Great release.
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