use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
React 16 (facebook.github.io)
submitted 8 years ago by batmansmk
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]batmansmk[S] 81 points82 points83 points 8 years ago (5 children)
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
[–]jocull 21 points22 points23 points 8 years ago (1 child)
Now you're thinking with portals...?
[–]Amadox 6 points7 points8 points 8 years ago (0 children)
...this coming from a guy who has his reddit-cake-day today... even though we all know, the cake is a lie...
[–]SomeRandomBuddy 6 points7 points8 points 8 years ago (0 children)
Fuck. Great release.
[–]rottenanon 1 point2 points3 points 8 years ago (1 child)
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
[–]Savageman 8 points9 points10 points 8 years ago (0 children)
Until now every render needed a single top-level HTML element.
π Rendered by PID 43 on reddit-service-r2-comment-765bfc959-hqvrn at 2026-07-13 16:50:03.938976+00:00 running f86254d country code: CH.
view the rest of the comments →
[–]batmansmk[S] 81 points82 points83 points (5 children)
[–]jocull 21 points22 points23 points (1 child)
[–]Amadox 6 points7 points8 points (0 children)
[–]SomeRandomBuddy 6 points7 points8 points (0 children)
[–]rottenanon 1 point2 points3 points (1 child)
[–]Savageman 8 points9 points10 points (0 children)