Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vuex in "Vue 3 as the New Default" announcement #7

Closed
jkosir opened this issue Jan 24, 2022 · 1 comment
Closed

Vuex in "Vue 3 as the New Default" announcement #7

jkosir opened this issue Jan 24, 2022 · 1 comment

Comments

@jkosir
Copy link

jkosir commented Jan 24, 2022

While the announcement suggest using Pinia as a global state management lib for Vue 3, it still also makes Vuex seem as a viable alternative.
However in Vuex 4 getters caching does not work, as mentioned in Vuex documentation: https://next.vuex.vuejs.org/guide/getters.html
and on many issues in the vuex repository:
vuejs/vuex#1883
vuejs/vuex#2102

Neither the Vuex mentions or "Potential required actions" mention this even though it can be a complete blocker for migrating some apps to Vue 3 (without also changing the state management to Pinia). Can a warning be added (or said issue in Vuex fixed)?

@yyx990803
Copy link
Member

This is now fixed in Vuex 4.1 (which requires Vue 3.2+)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants