Mocking modules with jest and typescriptPublished on Thu Dec 10 2020
Since it took me some time to understand the behaviour and the jest docs don't tell much about it, I wanted to write down how to mock modules with jest and especially update the return values of module functions across your tests.
Read Mocking modules with jest and typescript
The new old schoolPublished on Wed Oct 14 2020
My blog is finally online again. This time as a statically generated page. Here is how I made it.
Read The new old school
Updates about react hook routerPublished on Tue Apr 30 2019
It's been about a month, since I released my initial version of hookrouter. Lots of things happened since then.
Read Updates about react hook router
Modern and clean routing with hooksPublished on Thu Mar 21 2019
A quick experiment about using hooks for routing in a react app turned out to be very flexible and powerful.
Read Modern and clean routing with hooks
Create a react component as npm modulePublished on Wed Mar 06 2019
There are a lot of guides out there that advise you to use webpack to wrap up your components before publishing them to npm. This is absolutely not necessary. I would even consider it bad practice. Its much easier without webpack, too.
Read Create a react component as npm module