What are these strange getter objects with "effect" and "value"? #1833
Unanswered
plweil
asked this question in
Help and Questions
Replies: 1 comment 3 replies
-
@plweil did you ever resolve this? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting a strange display of pinia getters in VueDevTools. Can someone please explain what is going on here? I've never seen this before. The getters are being displayed with "effect" and "value" properties instead of arrays of objects (see third example below). Bear in mind that this is with Vue 2.7 and the latest pinia, using the Options API:
If you click "effect" of one of these, you get this:
I'm wondering whether this is some weird interaction of pinia and the built-in vue-composition-api in Vue 2.7. Here are the same getters, displayed in Vue DevTools, using Vue 2.6.11, vue-composition-api plugin 1.6.2, and the latest pinia:
Beta Was this translation helpful? Give feedback.
All reactions