~/talk

URL: your state management solution for Next.js 14

Talkat Kongres Next.js 2024 · on Friday, 2024-02-02· [frontend-architecture]
links:none on file
slides:none on file

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

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.