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

211

u/DoListening Oct 27 '17

It only talks about the landing page. The full tweet goes

Removing client-side React.js (but keeping it on the server) resulted in a 50% performance improvement on our landing page

The very next tweet says they still use React on subsequent steps.

103

u/basilect Oct 27 '17

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.

23

u/Theemuts Oct 27 '17

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

89

u/[deleted] Oct 27 '17

It's funny when thing that was a norm 10 years ago is now "optimization"

20

u/occz Oct 27 '17

Full SSR used to be the norm, now SSR is an optional optimization you can do to make one particular aspect of the user interaction better. In general you do a server-side render once and then do subsequent renders client-side.