Server-Side Rendering with Docker
summary
Demonstrates using React + Express SSR inside a Dockerfile so the server returns fully rendered HTML (view-source shows content), with a webpack build copied into the image, Node 8 on Ubuntu, Babel-node running server.js and the app exposing port 3001. Shows how the server injects a preloaded Redux state into window for client hydration and argues for treating the server runtime as a Docker image as runtime to standardize deployments and simplify DX; proposes docker-compose and base-image reuse.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:20Agenda overview
- 2:26Understanding Docker
- 6:19Server-side rendering
- 9:54The problem with dependencies
- 13:50The case for containers
- 17:58Show and tell
- 25:31Building and running
- 29:05Next steps and conclusion
related talks
23mMastering Server-rendered Apps
12mReact Server Components and SSR: How it Fits
24mUniversal Applications
21mExploring React Server Component Fundamentals
22mRapidly Developing Microservices with Node js and Docker
53mUniversal Javascript
21mReact Server Components
06mDemystifying server-rendered React apps: Performance & Security
