On July 24th 2017, I injured myself on a household appliance. The injury was quite severe - it was a fingertip crush injury and ripped off the top segment of my right hand index finger. I went to the hospital immediately and got a surgery for fingertip repair called a Thenar flap. At this time of wr...
In this post, we will more learn about how Vue.js Computed Properties work by writing a very (very very very) simple implementation which achieves similar functionality.
Off late I've been finding Vue.js computed properties can be used in some very interesting and powerful ways.
You've probably read the Vue.js documentation on slots. For me, that feature went from "why would you possibly need that" to "how could I have possibly worked without it" real quick.
While the documentation explains the concept, here's a real world example on how slots can improve your application codebase.
Update Nov 2016: This is written for a very old version of the vuex api and the code from Dec 2015.
However, this article still gives a very in-depth look about why vuex is important, how it works and how it can make your apps better and easier to maintain.
Vuex is an in-development and prototype library by the creator of Vue.js to help you build larger applications in a more maintainable way by following principles similar to those made popular by Facebook's Flux library (and subsequent iterations by community like redux).
Instead of directly jumping into vuex and how to use it, in this post, I'll explain the rationale behind why it is favorable to alternative approaches and how it is helpful to you.