New Website with Next.js and Strapi

A friend of mine is working as a local mattresses retailer and asked me to help out with his website. Basically he just wanted to change the opening hours. I found an old html file on his server. This was a perfect opportunity to test out some new stuff so I redirected the domain bettenbauernfeind.de to one of my cloud servers and started to work.

Continue reading “New Website with Next.js and Strapi”

Redux Persist with Redux Toolkit

There is a pretty handy library called redux-persist that persists the global object from the application’s redux store in the local storage. This is useful when the javascript application breaks on page reaload which happens for example all the time when developing with hot module replacement.

This article explains how to integrate this library in your web application when you are using the redux toolkit. It is an opinionated toolset for redux development that provides really good defaults and it is my prefered way to setup the redux store.

Continue reading “Redux Persist with Redux Toolkit”