Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
swr: true breaks useCookie - Nuxt
N
Nuxt
•
2y ago
Bobakanoosh
swr: true breaks useCookie
Maybe this is expected behavior
. If not
, I
'll make a Github issue
I have
{ swr: true }
{ swr: true }
in a route rule
. When on that route
, when trying to use
useCookie
useCookie
, the cookie doesn
't persist
.
Here
's a minimal reproduction
:
https://stackblitz.com/edit/github-pvvuiv-4zjjl5?file=nuxt.config.ts,app.vue
StackBlitz
Nuxt - Starter (forked) - StackBlitz
Create a new Nuxt project
, module
, layer or start from a theme with our collection of starters
.
Nuxt
Join
Nuxt Community Chat Server
31,817
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
getCachedData or swr: true
N
Nuxt / ❓・help
2y ago
mountSuspended & useCookie
N
Nuxt / ❓・help
15mo ago
usecookie() problem
N
Nuxt / ❓・help
16mo ago