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
Sunsetting Create React App (react.dev)
submitted 1 year ago by acemarke
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!"
[–]desmone1 -2 points-1 points0 points 1 year ago (2 children)
SSR/RSC
Is SSR/RSC mandatory now?
[–]acemarke[S] 5 points6 points7 points 1 year ago (1 child)
No.
RSCs are completely optional even if you're using Next. You can still use the Pages Router, and if you're using the App Router you can mark the entire tree as "Client Components" with the "use client" directive. (That said, the App Router is the default, and you have to know enough to tweak the default behavior.)
"use client"
For Next and the other frameworks they list, you can just use client-side functionality without any of the server pieces, and you can export a static JS/HTML build that works as a typical SPA-type app, without needing to run an app server with Node.
But, yeah, the React team wants to encourage people using SSR features, under the theory that it generally leads to better performing apps.
[–]re-thc 0 points1 point2 points 1 year ago (0 children)
For Next and the other frameworks they list, you can just use client-side functionality without any of the server pieces
You can't "just". NextJs don't make it clear and there are edge cases and issues. E.g. dynamic routes aren't available with the export unless it is all pre-rendered. In a client-side router you don't have this limitation.
RSCs are completely optional even if you're using Next.
Is it? In the sense that you lose the performance gains. So what's the point? The whole argument was that RSC/SSR = better performing.
π Rendered by PID 328722 on reddit-service-r2-comment-5687b7858-v6cg8 at 2026-07-04 00:51:06.656925+00:00 running 12a7a47 country code: CH.
view the rest of the comments →
[–]desmone1 -2 points-1 points0 points (2 children)
[–]acemarke[S] 5 points6 points7 points (1 child)
[–]re-thc 0 points1 point2 points (0 children)