vuex-easy-firestore
vuex-easy-firestore copied to clipboard
[planned feature] specific import of just the actions you need (+ better treeshaking)
A milestone for v2.0
Currently when you create a module via vuex-easy-firestore, it will add a bunch of actions, getters, mutations etc.
I'm thinking of creating a system where actions that you wish to use should be imported from the library and added directly to the vuex module.
This will improve code readability. No more actions which are added automatically, so it's easier for teams to understand the app architecture.
This will also improve treeshaking support, since just the actions you decide to add to a module and wish to use, are extracted from the library. Unused actions won't bloat your app unnecessarily.
Help requested:
I'm using a lot of getters, mutations, state props that are only used by my library internally. If anyone can advice me how to best extract this logic and have it automatically imported when a single action is added to the vuex module, let me know!!!
After about two years of open source, I finally got accepted for Github Sponsors!
💜 github.com/sponsors/mesqueeb 💜
A little about me:
- I love open-source
- 6 months ago I got a son, and am trying to be an awesome father 😅
- I'm doing freelance work here and there as my main job
If anyone was helped with vuex-easy-firestore, I'd greatly appreciate any support!
BTW, donations get's paid DOUBLE by GitHub! (they're alchemists... 🦾)
Going forward 👨🏼💻
- I got great plans for the future of vuex-easy-firestore going above and beyond!! Look forward to it!!
- On to many more years of open-sourcing! 🎉