A possible fix for the error Could not find router reducer in state tree, it must be mounted under "router" with connected-react-router
Posts tagged with react
This post describes how to fix a tailwind error, where using @apply directives would cause "resolve-url-loader: error processing CSS, invalid mapping" errors during your build.
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!
In this post, I will be analyzing a poorly-optimized React function component that renders a list of items. I will be using the React performance profiler to identify the performance issues in the component, and then I will show you how to optimize the component to improve its performance. By the end of this post, you should have a better understanding of how to optimize the performance of your React components.
This post describes how to mock IntersectionObserver, a layout helper which is not implemented when running tests with Jest + JSDOM.
This post shows how to enrich axios errors when using react-query and how to handle them on a global level.