Hands-on with React Server Components
React remains a flagship among front-end JavaScript frameworks, and the React team continues to pursue avenues to keep it relevant. One of the more important developments on the roadmap is React Server Components. React Server Components provide a means of offloading the work behind a component to the server. This avoids having to ship bundled JavaScript and having to serve secondary API requests to hydrate the component.React Server Components are a preview feature that can be enabled in React 18. [ Also on InfoWorld: Hands-on with the Svelte JavaScript framework ] Why use React Server Components Before we look at how React Server Components will work, let’s think about why. First, it’s useful to note that React Server Components are distinct from server-side rendering (SSR). As the RFC from the React team states,To read this article in full, please click here
React remains a flagship among front-end JavaScript frameworks, and the React team continues to pursue avenues to keep it relevant. One of the more important developments on the roadmap is React Server Components.
React Server Components provide a means of offloading the work behind a component to the server. This avoids having to ship bundled JavaScript and having to serve secondary API requests to hydrate the component.
React Server Components are a preview feature that can be enabled in React 18.
Why use React Server Components
Before we look at how React Server Components will work, let’s think about why. First, it’s useful to note that React Server Components are distinct from server-side rendering (SSR). As the RFC from the React team states,