In this tutorial, you can read an overview covering React Server Components and how they will change the modern way of building React apps.
This overview covers React Server Components and how they will change the modern way of building React apps.
Modern apps require a lot of time researching, designing, developing, and testing. There are a lot of different techniques that can be used for building modern apps, each of these techniques is for solving specific problems, and each one of them has its pros and cons. There’s no silver bullet for building modern apps.
When working with React, we can name a few different techniques that are used nowadays, but the most used are server-side rendering and client-side rendering. Both of these techniques solve specific problems and are the most used by developers for building rich modern apps.
At the end of 2020, the React team proposed a new feature of React called React Server Components. Since then, the React community has started to discuss the pros and cons of this new way of building React applications and how it can impact the future of React apps.
We are going to cover React Server Components and how they will change the modern way of building React apps.
Before learning more about React Server Components, keep in mind that it’s still under development and is not recommended to be used in production yet.
From the React team:
Server components allow developers to build apps that span the server and client, combining the rich interactivity of client-side apps with the improved performance of traditional server rendering.
React Server Components will have zero impact on the bundle-size and it will likely change how we build React apps. It will not only reduce the bundle-size itself but will also improve the initial page load time.
Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.
I have been using React JS in my projects for quite some time now and am used to managing routing in my app using the react-router package. I have always been keen on having as little dependencies in my apps as possible, so, I always felt perturbed by the use of this particular package in simpler apps which did not have complex routes.