String.prototype.replaceAll. It is used for replacing all occurrences of a given string or a regular expression with another string. It looks like this:
It is a very simple addition to
Recently, I had this pull request that triggered a short discussion with my teammates. Someone noticed that I used a different method to write types for the function components I wrote, whereas there were other methods used in the codebase.
In this bite-sized React article, I’ll show you the right way to do it.
If you’ve recently tried to set up hosting for your web application, you might have noticed something. Hosting web applications in 2020 is both easier and harder than it was only a couple of years ago.
It’s easier because both the tooling and the hosting solutions have improved significantly. Tools like
create-react-app, Next.js and, Gatsby have matured and there are tools introduced every day that help mitigate any shortcomings they have. Setting up hosting has also become much easier. Vercel (formerly known as Zeit) has gained a lot of support and popularity, while Firebase has continued its growth with the abundance of GCP (Google Cloud Platform) based services. …