/react-server-components

Example of react server components running in AWS Lambda deployed via serverless framework

Primary LanguageJavaScript

React Server Components rendering in AWS Lambda

Example of react server components running in AWS lambda.

Fork of https://github.com/sw-yx/amplify-react-serverless-components/.

Credit goes to Swyx for putting this together.

Install

npm install

Also install serverless if you dont have it

npm i serverless -g

Build

npm run build

Deployment

serverless deploy

See it in action

serverless info

Visit your live URL https://xxxxxxxxxxxx.execute-api.us-east-1.amazonaws.com/dev/rsc/

Todo