/nuxt3-apollo-hydration-error

It seems that SSR renders everything correctly, and CSR also does, but only on 2nd render pass. On initial render, even tho the Apollo cache is filled, it returns undefined at first, which causes Vue to report that there's a hydration mismatch.

Primary LanguageTypeScriptMIT LicenseMIT

Nuxt3 apollo hydration error repro

  1. yarn
  2. yarn dev
  3. open http://localhost:4545/hydration-test
  4. check console and you'll see the error

It seems that SSR renders everything correctly, and CSR also does, but only on 2nd render pass. On initial render, even tho the Apollo cache is filled, it returns undefined at first, which causes Vue to report that there's a hydration mismatch.