No More Sentry Alerts? Discover 2 Culprits I Encountered
Explore 2 issues causing your Sentry alerts to stop working in your React applications. Based on a real case, learn how I troubleshooted and resolved these problems to ensure your error monitoring stays effective.
Tanstack Router: Harnessing TypeScript's Power for Revolutionary Routing
Explore how @tanstack/router transforms web development with its full type-safe approach. Learn about its innovative use of interfaces and 'declare module', ensuring a perfectly tailored routing experience based on your project's configuration.
Slider sorcery: Unleashing Image Comparison Component Magic
This component simplifies comparisons across different scenarios, allowing for easy highlighting of distinctions. You'll master its implementation effortlessly by the end of this article.
Serverless function cold start is too slow, let's dockerize our app
In an application I built, I couldn't use edge function. Unfortunately, serverless function are so slow to start that I decided to dockerize my application and deploy it on my server.
React routing library with Navigation API
It's now time to connect the agnostic routing library that uses the navigation API to React.
Master the Art of Navigation: Building a Library with the Navigation API
Now that we know what is the navigation API. Let's build a routing library agnostic of every framework.
Back to the future: Navigation API
The new navigation API is coming. Ryan Florence said in a github issue that it will help to a better implementation for `react-router`. Let's explore this new API.
React Hook Form: a unique implementation
Forms are used everyday. Some library exists to improve both user and developper experience. `react-hook-form` is one of this library focusing on performance. Let's deep dive to this library.
Exit animation with `framer-motion` demystified
Animation has their own implementation to deal with exit animation, because React do no allow to delay the unmounting of components. The `framer-motion` API seems to me to be the most natural one. Let's see the amazing implementation of exit animation with this library.
Virtualization with fixed size items (part 1)
Have you performance issue because you have to many items in a list on your page? Let's see how to fix that thanks to virtualization.
useEvent: the new upcoming hook?
Did you often transform React state to React ref not to re-create a new reference of your listener which is wrapped with useCallback because passed to a memo component. It happens to me so often, a new rfc for a new hook named useEvent has been opened by React that should make you happy :)
useImperativeHandle: the most unknown React hook
Now that React ref has no secret for you, we can look at the useImperativeHandle hook that allows use to expose function to its parent thanks to its reference and inverse the unidirectional data flow.
Things you need to know about React ref
React state are often overused because React ref are misunderstood. You will see what they are and when to use them. Do not use state when it's not useful anymore.
Things you need to know about React state
You probably used to use state, but do you that you can lazy init it, update state with a callback, ... You will see from the fundamentals to more advanced things.
When to use useCallback?
Are you wondering when to use `useCallback`? I propose you my vision about it. And of course how it's implemented :)
use-context-selector demystified
In the React context performance I talked about the `use-context-selector`, but how does it work under the hood?
Web Storage API: localStorage and sessionStorage
Sometimes, you would like to store some data in the browser. Here is the Web Storage API that can make you happy. But what is it? And how to use it?
React context, performance?
React context is used by many libraries such as `react-router`, `react-query`, ... But what is it? How do we use it? What about the performances?
react-router v6 demystified (part 3)
In this last article, we continue the exploration of the `react-router` code and our implementation.
react-router v6 demystified (part 2)
In this second article, we will focus on understanding how is implemented `react-router` v6, and make a simpler implementation.
react-router v6 demystified (part 1)
In this first article, we are going to see the main differences in the API of `react-router` v6 compared to the previous version.
Let's explore javascript's Location and History API
The goal is to understand how works the Location and History API to implement a `react-router` library like.
How to manage internationalization in React? react-intl like
Let's explore how to implement internationalization with React to make your application understandable by everybody.
React event listeners demystified
Let's go deep in the React implementation to know event listeners are handled.
Prevent useless re-render
It can happen that performances are degraded. One of the possible reason can be that you have useless re-render. We are gonna focus, in this article, to see how to prevent useless re-render.
How does Reselect work?
Let's look closely the code of the library Reselect, which handle memoization of Redux (and others) selectors.
How does Redux works?
Let's explore together in this article, the well known library Redux, to see its implementation