As sorting is a common operation on arrays, a more scalable and less error-prone strategy would be to define common compare functions. Let's build said compare functions!
A few years ago, ES6 introduced template literals
[https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals]
, allowing among other things for multi-line strings, embedded expressions, and
string interpolation.
That means
When using vuex to manage the state of a large-enough Vue project, it can sometimes be difficult to manage, even more so when using modules. To try to add a sensible approach to managing vuex stores, here is a proposal.
Ever wonder what were the basic building blocks of one-way state management libraries such as redux or vuex? Well, you are in the right place as we will be looking at re-implementing one-way state management in vanilla JavaScript.
Want to write an open-source library targeting Node, but don't know where to start? Just curious about a fellow open-source library author's default setup for Node packages? Have 5 minutes of your time? Look no further, I got you covered!