~/talk

Using Server Components and Form Actions With Nuxtjs

Talkat UtahJS Conf 2024 · on Friday, 2024-09-13· [web-platform, javascript]
slides:none on file

Nuxt.js implements server components by naming files like user-profile.server.vue and enabling experimental.componentsIslands: true, which moves rendering and secrets to the server, shrinks client bundles, and supports non‑blocking loads with lazy and fallback. Interactive bits require the selective client flag and the nu-client child component pattern. Limitations include no window/ref/lifecycle interactivity in pure server components and experimental API instability. Demo shows a form submitting directly to server and a working client fallback for a counter.

AI-written summary · about

  1. 0:00Introduction to server components
  2. 2:15Differences between Nuxt and Next
  3. 4:45SSR SSG and server components
  4. 8:13About the speaker
  5. 9:19Talk goals and agenda
  6. 10:01Why use server components
  7. 12:54Setting up server components
  8. 15:05Slots in server components
  9. 16:08Selective client feature
  10. 17:14Async server components
  11. 19:06Future roadmap for server components
  12. 20:49Other experimental features
  13. 22:13Demo of view transitions
  14. 23:18Demo of selective client
  15. 24:24Swag and resources
  16. 27:22Q&A session
~/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.