What is a generic type? Generic types in TypeScript give the developer more flexibility to create reusable components that can work over a different variety of types rather than a single one . Thi…
This is going to be a quick post that hopefully will safe you some time and headaches. One thing that I struggled when I started to use TypeScript was dealing with Union types. Unions can be very hel…
TypeScript provides a set of utilities which you can use to create a which is based on type, this type will be transform in some way. Each utility provides a unique way of transforming a type. …
Before the usage of in web development, chances are that you used some kind of preprocessor like Sass to write the css of your application. On of the things that Sass is really good, is automating …
I wanted to learn TypeScript during 2019 and failed due to a lack of commitment. That’s why I’m starting 2020 with an actual plan on learning it and even better, implement it on my daily job so I can…
If you like clean, readable, simple code, probably you are tired of doing of writing lines of code like this one: What if you could express the same behavior like this: Welcome optional chaining to E…
After a couple of weeks of diving deep into , I realized about all the other surrounding topics that needed to be refreshed/learned in order to get a really good grasp of them. That why I decided to…
Among all of the new and great features that React has introduced since version 16, the concept of error boundaries could improve both our developer and user experience when handling errors of our Re…
There are a lot of resources that cover the basics of , how to create and clone repositories, how to commit, push, etc. But I think there are not a lot of resources that mention specific scenarios t…
Since we are already a little over the second half of the year, I thought it was a good time to do a quick recap of some of the new features that * * ECMAscript * * brought us for 2019. All of the …