React Server Components, Issues, and the Effect on Libraries in the React Ecosystem
Tags: rsc, react, ecosystem, problems
Published: 2023-07-13 20:44:31

The implications and effects of RSC in the React ecosystem have recently been widely explored and stated on many discussions. In this blog, I'll attempt to compile what I notice around me.

With the introduction of the React Server Component into the React ecosystem, we began to hear many challenges and concerns about the future from various social networking platforms from many people that write libraries.

React is actually undergoing a major paradigm shift here, which could effect a lot of legacy code. Although this modification appears to be comparable to React Hooks, it is a very different and structural situation. Hooks are an API modification that can be used in old Class Components along Hooks, but the consequences are less noticeable. In RSC, things are a little different.

React has been tackling Rendering and Interaction Handling since its inception by giving DX (Developer Experience) to app developers through a component-based development framework.

Things have changed with RSC. How ?

## Tools for React Bootstrap

To begin with, the CRA, which allows us to easily establish the React project infrastructure, has been abandoned, and if you are going to develop a React project infrastructure, we have moved to an environment that highlights Frameworks like as Next, Remix, and Gatsby. Vite has been hidden in the documentation.


![CRA Notes](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bsoig1qjhokse9vo1yx1.png)


They also effectively destroyed the CRA (Create React App) side. Of fact, ClientSide application developers are still generating React applications in this location, but it is evident that this section will be phased out after a specific length of time.

Note: For further information, please see the article linked below.
[Replace Create React App recommendation with Vite](https://github.com/reactjs/react.dev/pull/5487)

In reality, it is certain that the CRA will no longer be developed beyond late 2021.


![https://github.com/facebook/create-react-app/discussions/11768](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rd5cjch86pjp0kd1g4ws.png)

## State Management Libraries

Examine the scenario through the perspectives of State Management library developers.

Dominik, who is in charge of maintaining the React Query (TanStack/query) library, should read the following blog post in which he discusses the challenges encountered and the future of React Query after RSC.

> [You Might Not Need React Query
](https://tkdodo.eu/blog/you-might-not-need-react-query)


Below is a post written by Lenz Weber, a supporter of Apollo, Redux Toolkit, and RTKQuery, outlining her ideas and concerns regarding RSC.

> [My take on the current React & Server Components controversy](https://phryneas.de/react-server-components-controversy)


## Routing Libraries

Ryan Florence, React Router and Remix Developer, emphasizes that they should be careful while integrating RSC because they are still working and experimenting on it.


![Ryan Florence tweet](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/phxhdhgt6c54kxzui0vp.png)


Tanner Linsley discusses the Tan Stack Router and how various standards should become more prominent in order to make this section RSC compatible. The video shows the RSC perspectives of Solid and Astro Framework developers.


> [Discussion on React server components with Ryan Carniato, Tanner Linsley, & Ben Holmes
](https://www.youtube.com/watch?v=QRVtu9_xi2k)


## The Question of What RSC Is and Isn't

You may find talks regarding what RSC (React Server Component) is everywhere around you.

Someone mentions RSC output Program, while another mentions VDOM Serialization...

![The Question of What RSC Is and Isn't](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7bv0ml5zuuc9jt33ej8u.png)

## My Ideas


We go over RSC in further detail. RSC appears to offer many advantages in the future, but it also appears to cause numerous issues when old scripts fail.
Our mental models and paradigms will shift.
It will take some time for the RSC Standards and associated library development to become established.
Remember to utilize useClient in third-party legacy code and libraries, as React may raise various problems in the background.
Existing libraries began to worry about not being used in the future.


## LearnReactUI.dev
I'm the founder [LearnReactUI.dev](https://learnreactui.dev/contents?language=EN), Don't forget to sign up for LearnReactUI.dev to further your career in the React Ecosystem. This site is a website created for React developers who want to develop a real-world Web Application.


![https://learnreactui.dev/contents?language=EN](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pcbx78gwe1u93imb7arq.png)