https://github.com/djm/react-server-components-demo
https://github.com/djm/react-server-components-demo
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/djm/react-server-components-demo
- Owner: djm
- Created: 2020-12-24T22:29:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-24T22:30:18.000Z (over 4 years ago)
- Last Synced: 2025-02-02T18:46:43.743Z (4 months ago)
- Language: JavaScript
- Size: 84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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 that 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)