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] Vuex 5 #271

Closed
wants to merge 3 commits into from
Closed

[Vuex] Vuex 5 #271

wants to merge 3 commits into from

Conversation

kiaking
Copy link
Member

@kiaking kiaking commented Mar 2, 2021

Summary

Introducing a brand new Vuex for Vue 3. It's designed to improve various architecture and API of Vuex from what we've learned from past years. Here are the key differentiators from Vuex 3 & 4.

  • 2 syntax support for the store creation, options api, and composition api.
  • No mutations. Only state, getters, and actions.
  • No nested modules. Only stores. Compose them instead.
  • Complete TypeScript support.
  • Transparent, automated code splitting.

Links


Important: Do NOT comment on this PR. Please use the discussion thread linked above to provide feedback, as it provides branched discussions that are easier to follow. This also makes the edit history of the PR clearer.

@kiaking kiaking added the vuex label Mar 2, 2021
@kiaking
Copy link
Member Author

kiaking commented Mar 30, 2022

We're closing this RFC due to Pinia becoming the next official state management lib for Vue.

Pinia has almost the exact same or enhanced API as Vuex 5, described in this RFC. You could simply consider Pinia as Vuex 5 with a different name.

@kiaking kiaking closed this Mar 30, 2022
@maxdzin
Copy link

maxdzin commented Mar 30, 2022

Using pinia for a long time and it works like a charm! Thanks so much for such a great lib and your efforts, guys!

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

Successfully merging this pull request may close these issues.

3 participants