3 ms·
I recently found Pinia[1] as replacement for vuex. - full typing - real life functions - vue dev plugin support in store section - mutations don't exist as
by johnthreevolts 5y ago
I recently found Pinia[1] as replacement for vuex.
- full typing
- real life functions
- vue dev plugin support in store section
- mutations don't exist as separate idea
- also has api, so i wrote little plugin for state synchronization with local storage.
*Typography fix
1. https://pinia.esm.dev/ https://pinia.esm.dev/
- Tajnymag 5y agoWow. That's exactly what I thought Vuex would look like after after the Vue 3 release. Definitely going to use it for my future project.
- AstralStorm 5y agoJust know what you're getting into, this is a new rather unknown framework with much fewer users and resources than Vue with VueX.
- ebr4him 5y agoRead the docs, its from a Vue core team member and based on a future version of Vuex so you can easily migrate.
- oefrha 5y agoThis is great. I feel the urge to delete all the brittle vuex crap from my vue3 ts projects right now.