Today I learned

Improving SEO with Gatsby Gitinfo

#Git#GatsbyJS

When you are using GatsbyJS there is a really useful plugin to add git infomation to your pages. The gatsby-transformer-gitinfo plugin…

Read more

The Set Object

#JavaScript

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 more

React Suspense Lazy Loading Components

#React#JavaScript#Performance

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 more

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

Decode JSON web tokes

Today I learned that there exists this super cool tool which can help you to decode JSON web tokens. Check it out here: https://jwt.io/ You…

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…

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

Flex-gap

#CSS

Today I learned that the flex-gap property is finally here! Putting space between flex items was always annoying and now it gets super…

Read more

Dividing frontend from backend is an antipattern

At a previous job I've worked on, there were clear lines between frontend developers and backend developers. When being in a refinement…

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