Closed aliraza880880 closed 6 months ago
Please provide a proper reproduction.
Can we reopen this? I have now facing a smiliar situation here. And I have a repro too.
For me, this is happening if the value is mutated from nuxt plugin. The store was acting finicky but when the debug: true
was set, the actual underlying issue surfaced.
Repro: https://stackblitz.com/edit/nuxt-starter-kmist8?file=plugins%2Fdemo.ts
We've got the same issue and using debug shows the same errors. If many users access the site at the same time, it looks like state data is actually shared between those, which should never happen and is a really big problem for us.
@prazdevs
Experiencing this today. Running the latest version of this plugin
Describe the bug
This issue arises when the same page is opened in a new tab repeatedly more than three times. [pinia-plugin-persistedstate] Error: [nuxt] A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function. This is probably not a Nuxt bug
Reproduction
no
System Info
Used Package Manager
npm
Validations