Example of react server components running in AWS Lambda deployed via serverless framework
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.
npm install
Also install serverless if you dont have it
npm i serverless -g
npm run build
serverless deploy
serverless info
Visit your live URL https://xxxxxxxxxxxx.execute-api.us-east-1.amazonaws.com/dev/rsc/