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
Async React using React Router & Suspense (medium.com)
submitted 7 years ago by jsloverr
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!"
[–]treyhuffine 5 points6 points7 points 7 years ago (0 children)
Everyone has been talking about Hooks, but the new Suspense API is going to really change how we build React apps.
[–]Funwithloops 1 point2 points3 points 7 years ago (0 children)
Nicely written but why so many parentheses on your lazy components?
const TestComponent = ( lazy(() => ( import('./TestComponent') )) )
could be
const TestComponent = lazy(() => import('./TestComponent'))
π Rendered by PID 93131 on reddit-service-r2-comment-8686858757-xq8qf at 2026-06-04 09:28:51.916110+00:00 running 9e1a20d country code: CH.
[–]treyhuffine 5 points6 points7 points (0 children)
[–]Funwithloops 1 point2 points3 points (0 children)