pinia icon indicating copy to clipboard operation
pinia copied to clipboard

`mapState()` not working with Vue 3.4

Open balesniy opened this issue 1 year ago • 6 comments

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

balesniy avatar Jan 14 '24 16:01 balesniy

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

posva avatar Jan 14 '24 18:01 posva

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

balesniy avatar Jan 15 '24 09:01 balesniy

Seems to be fixed upstream

posva avatar Jan 25 '24 10:01 posva

It seems to be there again

posva avatar Feb 23 '24 09:02 posva

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

stephanfriedrich avatar May 21 '24 07:05 stephanfriedrich

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?

Azurewarth0920 avatar Jun 21 '24 05:06 Azurewarth0920

Fixed upstream

posva avatar Sep 26 '24 09:09 posva