Today I learned
Secure JavaScript URL validation
URL validation is super important because it checks if a URL follows a proper URL syntax and is not malicious. Nowadays URL-based…
Read moreArray Sort modifies the original array
JavaScript provides us a ton of useful array methods. One of them is the .sort() method, which as the name says sorts an array. This is…
Read moreEfficiently load third-party JavaScript
Third-Party JavaScript is one of the number one things that slows down modern websites. And it's often hard to improve as you are unable to…
Read moreThe Set Object
Today I learned about the Set object. It lets you store unique values of any type, whether primitive values or oject references. It's…
Read moreReact Suspense Lazy Loading Components
While Suspense for Data fetching is still an experimental feature in React and is not yet available in a stable release, React 16.6 also…
Read moreFetch API response.ok
Today I learned that the fetch API does only reject on a Network error or when CORS is misconfigured on the server-side. This means requests…
Read moreJavaScript Array Mutation
Today I learned forgot, that the JavaScript array method mutates the original array. This caused me a lot of trouble and some nasty bugs…
Read moreNo floating promises
If you have worked with Promises in JavaScript, you know that Promises returned by functions must be handled appropriatly. Unhandled…
Read moreOptional Chaining
The optional chaining operator can now be used in production! Hurray! 🥳If you have no idea what this is, here is an example for you: Let's…
Read moreWhat the heck is the event loop anyway?
When I started learning NodeJS and researched a lot on this topic, I stumbled across this video from Philip Roberts : I already watched it…
Read moreThe cost of JavaScript frameworks
Tim Kadlec did an in depth analysis of the most common JavaScript frameworks right now and their performance. It ' s totally worth the read…
Read moreECMAScript 2020
ECMAScript 2020 was released recently which a brings a lot of cool new features into the JavaScript language. My favourites from the new…
Read moreReplace axios with fetch
Axios is a npm package which makes http requests easier. At the time axios came out, making http requests in the browser was not really…
Read moreJavaScript and Non-JavaScript experiences
Kitty Giraudel wrote on his blog about how N26 is delivering a JavaScript and a non JavaScript experience. I could find a lot of interesting…
Read more