This is a very naive implementation of React Server Components. The goal is to familiarize with the concept and basic principles of Server Components.
The code in this repository is based on the RSC from scratch tutorial by Dan Abramov.
To get started, clone the repository and install the dependencies:
yarn
Then, start the server:
yarn start
The server will start on port 5172. Open your browser and navigate to http://localhost:5172
. You should see a list of pokemon. Click on a pokemon to see its details.
- React Server Components (Video) - Introduction
- RSC from scratch - Reference for this repo by @dan_abramov2
- RSC payload (Diagram) by @lubieowoce
- RSC from scratch (Video) - Using
react-server-dom-webpack
by @BHolmesDev - How React server components work: an in-depth guide by @chungwu
- React Server Components, without a framework? by @tpillard