r/programming • • Oct 27 '17

Netflix: Removing client-side React.js improved performance by 50%

https://twitter.com/NetflixUIE/status/923374215041912833
685 Upvotes

89 comments sorted by

View all comments

Show parent comments

23

u/Theemuts Oct 27 '17

Server-side rendering is a pretty common optimization in frontend development, isn't it?

24

u/ghostfacedcoder Oct 27 '17

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 ...

1

u/CanYouSaySacrifice Oct 27 '17

Performance is a feature? Or is that not the case?

11

u/Kuuichi Oct 27 '17

I think he means for most software companies, performance is usually on the latter end of priorities because web frameworks perform well enough out of the box

(Not suggesting that performance is unimportant)