Typescript typing challenges and type utilitiesRecently I was looking for more knowledge about Typescript typing, how to create more advanced and …Read more
Typescript type narrowing, type guards and type predicates ([var] is [type])One useful feature in Typescript is union types, for example string | number | null, it’s a …Read more
Creating custom events in JSWhen you try to encapsulate features but need to interact with async events or events generated by …Read more
Understanding d3.js - A simple line chartBefore starting is important to say that d3.js is not a chart library is a library for making …Read more
Export and import Vuex stateIf you are familiarized with Vuex, you must know that Vuex is a state management pattern library for …Read more
Creating a simple donut progress chartOne of more simpler charts you can create is a circular chart to represent the percent of completion …Read more
Javascript unary operators: Taking advantage using themWhat’s an operator? An operator is a symbol that define the operation to do between 1 o more …Read more
Understanding Javascript's event loop: Macrotasks and microtasksDespite what it may seem, Javascript execution in a browser is synchronous. It is a similar thing as …Read more
Start using Typescript in Vue. The easy way.If you program in JavaScript probably somebody told you about the advantages of using Typescript or …Read more
(Deep) Cloning objects in JavascriptCloning objects in Javascript (and in other languages) is a tricky task. JS doesn’t store the object …Read more