Comment

Comment by legym

The company I work for is making a big deal about client-side hydration. We use nextjs for our sites. My director was asking about Svelte.

"Something i wanted to mention is both the React team and nextjs team are aware of this and are working on a solution to address needing to load Javascript on the client. Its called React Server Components

React Server Components Documentation https://reactjs.org/blog/2020/12/21/data-fetching-with-react...

Nextjs Blog on Server Components https://vercel.com/blog/everything-about-react-server-compon...

Nextjs Documentation on Server Components (Alpha) https://nextjs.org/docs/advanced-features/react-18/server-co...

We can try it out today on a platform that supports a node environment. This is from nextjs docs. I have a few thoughts on Svelte, but just wanted to point this out!"

With Server Components, there's zero client-side JavaScript needed, making page rendering faster.

parent legym 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton