Caching getters on server with Nuxt2 is not working as expected #2529
Open
Description
Reproduction
https://github.com/yoshrubin/pinia-ssr-bug
Steps to reproduce the bug
- run
yarn build && yarn start
Expected behavior
To return a cached version of the getter
Actual behavior
the getter
was called for each loop in the v-for
loop instead of returning a cached version
Additional information
The issue is for Nuxt2 with@pinia/[email protected]
which uses pinia@^2.1.7
Metadata
Assignees
Labels
Type
Projects
Status
Vue 2