In my blog I write about topics of interest, write tutorials for fixes I discover and write notes about nice tricks here.
Meaningful Sentry issues with react-query + axios
This post shows how to enrich axios errors when using react-query and how to handle them on a global level.
Optimizing screenreader accessibility for icon-only buttons
In this post I show how you can easily make buttons which consist only of an svg more accessible.
Mocking IntersectionObserver in Jest
This post describes how to mock IntersectionObserver, a layout helper which is not implemented when running tests with Jest + JSDOM.
Serve your build locally with nginx through docker
Sometimes you might want to debug problems or behavior of your produdction build locally. To do so, you have to somehow serve it. This post explains how!