Learn how to efficiently bundle your TypeScript package with tsup. This guide covers setup, custom output extensions, and best practices for optimized, production-ready builds.
Build a Telegram bot with Node.js and grammY to automate text, audio, and image responses using the Telegram API and Google Gemini.
Use the `box-shadow` CSS property to create layered, neon, and neumorphic shadows in this detailed tutorial.
Learn everything you need to know about how to use React Context — a great feature that enables you to manage and share state across the React application.
6 Replies to "Best practices for Vuex mapping "
Good guide :)) Thank you so much, this is just the beginning of learning VUE of the rest, but this entry is useful.
I liked your explanation, thank. I observed one probable mistake, you wrote “import mapGetters ” into the explanation about mapState. That’s right?
your mutation mapping example is messed up man. names are mis matched.
thanks but usage of modules & nameSpaces is missing 😉
Really well structured explanation.
Pleas fix only one small thing which I’ve noticed in ‘mapGetters’ section :
…mapGetters({
first: ‘firstCount’,
another: ‘anotherGetter’,
})
Thanks for bringing that to our attention. It should be fixed now!