Do we need state management libraries anymore?
Let's find out by exploring how the most popular libraries are doing it under the hood and then build our own.
Let's find out by exploring how the most popular libraries are doing it under the hood and then build our own.
The React Compiler memoizes your components at build time, and it does the job better than you can by hand. What it is, how the compiled output works, how to turn it on, and what to do with the useMemo calls already in your codebase.
React gives you a lot of ways to make two components share data but it gets more and more complicated based on the data and how far apart the components are. Lets see the different ways components can communicate with each other.
One room of React developers had all used TanStack Query. The next room had barely heard of it. This is the version of the talk that assumes nothing.
I spent three days building a custom ESLint rule and accidentally learned how JavaScript actually works. ESLint is just walking your code's syntax tree and running functions against each node. Once you see it, you can enforce any coding standard automatically instead of arguing about it in PR reviews.
Before you write another useEffect, ask one question: is this syncing with an external system? If not, there's a better way.