ES6 ships a namespace to handle internationalization, but if we create tests that use that namespace and run them using Jest likely will fail.
Jest tests don’t run on top of the browser; they run under Node.js, which doesn’t ship the full internationalization support by default.
June 18th 2019
Using Visual Studio Code to debug Jest based unit tests
coming from the .net/java/karma approaches will soon start to miss something... How on God's green earth can I debug this? The answer is using Visual Studio Code !!
You can just place breakpoints, choose whether or not to make a single run, enable watch mode, or even only execute the tests of
the current opened file.
May 28th 2019
Setting up Bitbucket pipelines in a Front End project
Bitbucket pipelines allows us to easily set up a continuous integration environment. In this post we will check how to set up all this configuration starting from scratch, going step by step, and follwing a cost wise approach.
May 9th 2019
React class components pitfalls
Some months ago class components were cool, since the arrival of React Hooks not anymore,
Why are class components not a great thing anymore? In this post we are going to enumerate
the main paint points when working with class components.
February 3rd 2019
React how to display a loading indicator on fetch calls
When you are developing your web application, you have to perform asynchronous operations, e.g. perform a fetch/ajax call to obtain data from the server. Sometimes you
need to do silent background operations, whereas in other cases you need to block the user interface or notify them that something is going on.
A typical way of handling this, is using a boolean flag to show/hide the spinner...
February 3rd 2019
Configuring aliases in webpack + VS Code + Typescript + Jest