Waju

Strong opinions, weakly held

V-show or v-if

in Javascript,  VueJs,  Opinion,  

Introduction Vue Js framework offers a few handy directives, in particular, there are two that seemingly amend themselves to the same end when you need to conditionally render an item, v-show and v-if. Devs often use them interchangeably presuming that they are largely the same. ...

Fun with recursion

in Javascript,  Jest,  TDD,  

Introduction We all agree Recursion is hard … however, it's a powerful tool that can make some algorithms clearer and more expressive. It's often avoided because of issues with infinite loops and stuff, but that need not be the case. I recently had an idea, which I will share at ...