Universal React on Lambda
summary
An experiment deploys Universal React plus Redux to AWS Lambda behind API Gateway by running a Node server inside each function (aws labs proxy) that translates Lambda events to HTTP, renders on server and client, and syncs URL and state via React Router and Redux. Build uses Webpack, Travis CI and Terraform. It works but shows slow iteration, mangled logs, API Gateway quirks and nontrivial deploy complexity — useful proof of concept with real operational surprises.
AI-written summary · about
chapters (13)
- 0:00Intro
- 1:38Experiment
- 1:48Challenge
- 2:27Inbetween
- 3:07Local Environment
- 4:20API Guide
- 4:38Proxy Integration
- 5:04Request Details
- 5:24Lambda Functions
- 8:19Redux
- 8:40Deploy
- 9:13Layers
- 9:28Final Thoughts
related talks
06mAWS Lambda + AWS Gateway + React = AWEsome
30mBuilding Serverless Backends with AWS Lambda for React Native Apps
39mUniversal JavaScript Web Applications with React
19mReact, Serverless, Terraform: The Dream Team for Fullstack Wizards
29mUniversal React
23mReact & the JAMstack
53mUniversal Javascript
25mUniversal React Applications with Redux
