[Vuex] Vuex 5 by kiaking · Pull Request #271 · vuejs/rfcs (original) (raw)
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.