Building Static Sites with React
summary
Claims that React can produce full static sites by rendering components to files using renderToString and renderToStaticMarkup, matching every path from a react-router config and emitting files with a webpack plugin. Shows actual steps: Node FS writes HTML, wrapping app in a full document, and using static hosts (GitHub Pages, Netlify, Surge) or AWS Lambda for dynamic bits. Reports it worked: company marketing site and a personal site were rebuilt and load even with JavaScript disabled, giving SEO, performance and simpler deployment.
AI-written summary · about
chapters (4)
- 0:00Start
- 1:23STATIC SITES WHO'S EXCITED?
- 2:40WHAT ARE WE TRYING TO ACCOMPLISH?
- 31:49SERVERS ARE STILL COOL
related talks
10mStatic Websites - The Final Frontier
32mThe Universality of Static Sites
04mA static website with React? Really?
16mEnhancing your Static Sites with React Server Components
14mHow to use React, webpack and other buzzwords if there is no need
17mThe Client-Side Revolution, Brought to You by React
13mReact Without JavaScript?
06mLightning talk from Kyle Matthews
