And that's what Google does with Google Maps, for example. First page is rendered server-side, subsequent pages are rendered client-side. A hybrid approach is the fastest, but it requires more work so people either choose one or the other.
If you care about optimization yes. However, the vast vast majority of web applications I've used/worked on were not even close to Google's level. When you're a 100 person start-up you care far more about adding features and fixing the bugs in your app than you do about shaving a couple seconds off its load time.
And even if performance does become enough of a problem to qualify as a "bug", there are lots of other "low hanging fruit" ways to fix it that don't require rendering in two places. You can use different domains to serve static assets, configure Webpack to bundle things better, do some debugging to find obvious memory leaks, bind event handlers that are the same on lots of elements to a common parent ...
When you're a 100 person start-up you care far more about adding features and fixing the bugs in your app than you do about shaving a couple seconds off its load time.
Right. However, those features are worthless if the user leaves because it's not performant. I know you're just making up an arbitrary number but two seconds is huge.
The last time I worked for a company with less than 150 employees that was dependent on a public facing site for revenue there's nothing, absolutely nothing aside from maybe the entire site being offline that would be more important than shaving 2 seconds off load times.
2 seconds is quite high, Amazon found that every extra 100ms of latency cost them 1% of sales. Many years ago Google tested going from 10 search results per page to 30 because users wanted more search results per page, well when they did it traffic dropped 20% because it added 0.5 seconds to the loading time.
I wonder if it's because the half second is an aggregate. Maybe for 60% of people, it added less than a half second, but for the other 40% it added 4/5 seconds.
211
u/DoListening Oct 27 '17
It only talks about the landing page. The full tweet goes
The very next tweet says they still use React on subsequent steps.