~/talk

Vue.js Hydration Demystified

Talkat Vuejs Amsterdam 2024 · 2024-02-28..02-29· [vue]
slides:none on file

Concrete causes and fixes for Vue hydration problems appear: invalid HTML and aggressive HTML minifiers remove fragment comments and break matching, third party scripts mutate DOM, and functions like Math.random or new Date produce differing server and client values. Solutions include using an HTML validator, transferring server values with useState transfer (unique keys) or moving logic to onMounted, enabling improved diagnostics via the Nuxt hydration module and Vue 3.4 messages, and considering partial or progressive hydration to reduce blocking.

AI-written summary · about

  1. 0:00Welcome
  2. 1:20Speaker and rendering modes
  3. 2:03What is hydration
  4. 4:12Hydration errors causes
  5. 7:21Third-party scripts issues
  6. 9:46Authentication pitfalls
  7. 11:32Debugging hydration errors
  8. 13:19Production debugging costs
  9. 14:22Avoiding hydration entirely
  10. 15:45Partial hydration and islands
  11. 16:49Progressive hydration strategies
  12. 18:16Server components future
  13. 19:40Vue hydration improvements
  14. 20:22Hydration recommendations
  15. 20:42Summary
~/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.