vuejs / pinia

🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
https://pinia.vuejs.org
MIT License
12.91k stars 1.02k forks source link

`mapState()` not working with Vue 3.4 #2551

Open balesniy opened 7 months ago

balesniy commented 7 months ago

Reproduction

old with vue 3.4.13 broken with 3.4.19

Steps to reproduce the bug

click button

Expected behavior

increment

Actual behavior

nothing happens

Additional information

Vue 3.4.12 or Composition API works fine

posva commented 7 months ago

It seems related to https://github.com/vuejs/core/discussions/9974. Feel free to take a look and try to fix it

balesniy commented 7 months ago

it looks more like related to vuejs/core#10082. it turns out that the problem is not related to pinia

posva commented 7 months ago

Seems to be fixed upstream

posva commented 6 months ago

It seems to be there again

stephanfriedrich commented 3 months ago

Hello pinia team, thank you very much for pinia.

will this problem still be ? or are there any descriptions on how to fix this problem yourself ? it seems like not much is happening here anymore.

have a nice day

Azurewarth0920 commented 2 months ago

Tried to reproduced the bug.

Seems like it is broken with 3.4.13 and fixed in 3.4.14.

@balesniy Can you take a look at this?