URL: your state management solution for Next.js 14
summary
Next.js 14 techniques show putting UI state into the URL: categories become a dynamic root, sort and query become URL search params, and client-only pieces use use client with links that append params instead of mutating context. The example refactors an e-commerce filter/search into route params + server-rendered product fetches, eliminates fragile client-state sharing, preserves sharable links, avoids full reloads, and simplifies code while keeping SSR product queries working.
AI-written summary · about
related talks
25mType-safe URL state in with nuqs
45mNext js: Build a State of the Art E commerce in Fullstack React
23mImproving developer and user experience with nested layouts in Next.js
30mComposition, Caching, and Architecture in modern
29mHandle routes data using stateless protocol (using React Router)
30mTypesafe state in your URL
30mMicro Frontends in React — a State of the Art Approach
30mTackling State in Angular Applications
