A deep dive into the Liskov Substitution Principle with examples, violations, and practical tips for writing scalable, bug-free object-oriented code.
This article walks through new CSS features like ::scroll-button()
and ::scroll-marker()
that make it possible to build fully functional CSS-only carousels.
Let’s talk about one of the greatest problems in software development: nascent developers bouncing off grouchy superiors into the arms of AI.
Flexbox and Grid are the heart of modern CSS layouts. Learn when to use each and how they help build flexible, responsive web designs — no more hacks or guesswork.
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!