The Solution

How React Server Components helps

React Server Components (RSC) are a feature of the React library that enable components to render on the server before being sent to the client. These components run in a server environment separate from the client application or SSR server, allowing them to access server-only resources such as filesystems or databases without including that code in the client bundle.