I used classList.contains for years to figure out if an element contains a certain class but it turns our Element.matches does the job just fine.
In this first of two articles on static sites, I will share with you how you can speed up your build process on Netlify with a custom caching layer. The second article will go into the implementation of incremental builds using Nuxt.js.
How to group substrings in regular expressions without capturing them. Say hello to non-capturing groups.
Object.is is a better alternative to ===. Let's have a look at why!