https://github.com/netlify/react-server-components-demo
Minimal implementation on server components via Netlify functions
https://github.com/netlify/react-server-components-demo
Last synced: 8 months ago
JSON representation
Minimal implementation on server components via Netlify functions
- Host: GitHub
- URL: https://github.com/netlify/react-server-components-demo
- Owner: netlify
- Created: 2020-12-23T20:20:48.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-05-27T22:53:54.000Z (over 2 years ago)
- Last Synced: 2025-05-01T00:31:03.156Z (8 months ago)
- Language: JavaScript
- Size: 182 KB
- Stars: 67
- Watchers: 2
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-list - react-server-components-demo
README
# React Server Components on Netlify
This is a very minimal example of using React Server Components via Netlify Functions
To run locally, clone this repository and run:
```
npm i
netlify dev
```
And you should have a local env with both the client side application and the server side components rendered via a Netlify functions.
This is aiming to be a much simpler starting point than the much more involved [full demo](https://github.com/reactjs/server-components-demo) from the core React team
[
](https://app.netlify.com/start/deploy?repository=https://github.com/netlify/react-server-components-demo)