Today I learned

Fetch API response.ok

#JavaScript

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 more

JavaScript Array Mutation

#JavaScript

Today I learned forgot, that the JavaScript array method mutates the original array. This caused me a lot of trouble and some nasty bugs. So…

Read more

No floating promises

#JavaScript

If you have worked with Promises in JavaScript, you know that Promises returned by functions must be handled appropriatly. Unhandled…

Read more

Optional Chaining

#JavaScript

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 more

What the heck is the event loop anyway?

#JavaScript

When I started learning NodeJS and researched a lot on this topic, I stumbled across this video from Philip Roberts: What the heck is the…

Read more

The cost of JavaScript frameworks

#JavaScript

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 more

ECMAScript 2020

#JavaScript

ECMAScript 2020 was released recently which a brings a lot of cool new features into the JavaScript language. My favourites from the new…

Read more

Replace axios with fetch

#JavaScript

Axios is a npm package which makes easier. At the time axios came out, making http requests in the browser was not really fun and axios…

Read more

JavaScript and Non-JavaScript experiences

#JavaScript

Hugo 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