~/talk

Improving developer and user experience with nested layouts in Next.js

Talkat Next.js Conf 2022 · on Tuesday, 2022-10-25· [react, frontend-architecture]
slides:none on file

Next.js 13 implements nested layouts that render the full document and slot children so persistent nav and per-route sidebars stay stable while only inner segments rerender; server components are default while interactive bits use use client components and the navigation hook to mark active links; data fetching uses React’s experimental use with Suspense and per-segment fetches, plus generateStaticParams to prebuild pages (build shows six static movie pages), and the demo works end to end.

AI-written summary · about

  1. 0:00Nested layouts in Next.js
  2. 2:28Pages and navigation with Link
  3. 4:12Server vs client components
  4. 6:45Interactive components with use client
  5. 8:32Data fetching with use
  6. 11:42Loading states with loading.js
  7. 13:29Nested layouts for dynamic routes
  8. 16:22Dynamic data in nested layouts
  9. 19:29Static generation in Next.js
  10. 22:44Summary and future
~/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.