Using Next.JS and Redux for Epic Noscript Web Apps
summary
Project uses Next.JS and Redux to produce identical React HTML whether JavaScript runs or not by serializing Redux state into hidden form fields, POSTing to the same route, server-dispatching the submitted action and re-rendering with the updated state. An npm helper wraps buttons/forms; async thunks work by mapping action-creator names and awaiting them server-side. Live-coded counter and increment by amount examples work with and without JS; caveats: extra markup, higher server load, lost getInitialProps optimizations.
AI-written summary · about
chapters (4)
related talks
28mEnhancing Forms with React Server Components
27mEnhancing Forms with React Server Components and React 19
22mUniversal React Apps Using Next.js
34mWhat's Next? Exploring the future of React
36mNext.js by Example
20mEnhancing Forms with React Server Components
38mBuilding Isomorphic Web Applications with React
27mUnderstanding JavaScript Libraries via React and the React Ecosystem
