Posts with tag JavaScript

Using Cloudflare Workers as a Proxy for Firebase Authentication

This blog post will guide you through the process of setting up Cloudflare Workers as a proxy for Firebase authentication, allowing any user to authenticate with the `signInWithRedirect` function. Without this, cross-domain cookie settings will prevent Safari and other browsers from signing in.

Aron Schüler

Aron Schüler

Poorly-optimized React components, an example

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.

Aron Schüler

Aron Schüler

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!

Aron Schüler

Aron Schüler

React: Could not find router reducer in state tree, it must be mounted under “router”

A possible fix for the error Could not find router reducer in state tree, it must be mounted under "router" with connected-react-router

Aron Schüler

Aron Schüler