-
-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Hi,
Thanks for this amazing library.
I was trying this out with nuxt 2.x with hydrate never
mode. The code looks something like this:
<LazyHydrate never>
<Component-A>
</LazyHydrate>
Component-A:
<template>
Ssr mode is {{ isSsr }}
</template>
isSsr
is a computed property that simply returns the value of process.server
.
For some reason, as soon as the page is rendered on the client side, Component A resolves to Ssr mode is false
. It works fine when I turn javascript off, which means it's rendered correctly on the server side. I'm using nuxt in universal mode. Any idea how I can prevent hydration of such static components?
neatcoding
Metadata
Metadata
Assignees
Labels
No labels