How SSR-friendly is ark? #3965
|
I’m having a bit of difficulty telling how SSR-friendly ark is by looking at the docs. I’m specifically planning on using ark in a nuxt/Vue app. Does ark support SSR in this framework? |
Replies: 1 comment 1 reply
|
Yes — Ark ships a first-party Nuxt starter template ( Some context worth having going in, though: searching the issue tracker turns up a real history of hydration-mismatch bugs specifically in the Vue/Nuxt package — Practical takeaway:
There's also internal guidance ( |
Yes — Ark ships a first-party Nuxt starter template (
templates/nuxt/) in the repo, so SSR + hydration in Nuxt/Vue is an officially supported, tested path, not just "should work in theory."Some context worth having going in, though: searching the issue tracker turns up a real history of hydration-mismatch bugs specifically in the Vue/Nuxt package —
Field.Input/Field.Textareacausing hydration errors,Menu.Separatorhydration mismatches,Combobox.Positionerpositioning issues in Nuxt 3, menu-inside-portal-with-submenu hydration mismatches. All of these are closed/fixed now, but the pattern tells you where the sharp edges tend to show up: Field components and portaled/positioned content (me…