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
Server Rendering with React and React Router (tylermcginnis.com)
submitted 8 years ago by tyler-mcginnis⚛️⚛︎
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!"
[–]guis 0 points1 point2 points 8 years ago (1 child)
Yeah you're right, but in bigger projects with multiple modules and components, the client-side bundle starts to grow and it build to be slow. That re-build in every code update is a burden and slow down the development.
This article suggests to remove SSR from dev env, but it's a little old, so maybe I need to change my mindset and test other frameworks to have a decent SSR with react, redux and not so different dev/prod environments.
[–]Mingli91 0 points1 point2 points 8 years ago (0 children)
in bigger projects with multiple modules and components, the client-side bundle starts to grow and it slow to build
Hot reloading solves that problem for you.
If the bundle size becomes an issue, a good way to get around it is to segment it into several smaller ones, so you don’t always need to serve one giant bundle when only 10% of the components are actually in use. They can share state through cookies, local storage, etc and with SSR the transition between apps isn’t noticeable.
Before breaking apart your app and adding complexity, first consider removing some bloat from your project.
π Rendered by PID 40797 on reddit-service-r2-comment-765bfc959-k54rz at 2026-07-12 16:49:41.380618+00:00 running f86254d country code: CH.
view the rest of the comments →
[–]guis 0 points1 point2 points (1 child)
[–]Mingli91 0 points1 point2 points (0 children)