32 ms·
> React also needs to hydrate every element even when it isn't ever going to change That is no longer true with Server Components https://beta.nextjs.org/docs/
by TurningCanadian 4y ago
> React also needs to hydrate every element even when it isn't ever going to change
That is no longer true with Server Components https://beta.nextjs.org/docs/rendering/server-and-client-components#server-components https://beta.nextjs.org/docs/rendering/server-and-client-com...
- afavour 4y ago...which are a whole damn thing. Don't get me wrong I'm glad the React team is tackling the problem but it's telling that the answer requires an entire server side solution when other JS frameworks are able to solve this in the client or at build time. And just looking at those docs screams "patching over a fundamental issue" to me.
- ghusbands 4y agoYou lose all client-side performance benefits if the components are only on the server. Ideally, you would improve the performance of hydration or only hydrate when necessary.