Learn how to use the React compiler to optimize React applications. The React 19 introduces new features such as an experimental open-source compiler, React Server Components, and enhanced hooks and APIs. The compiler automates optimizations typically done manually using hooks like `useMemo` and `useCallback`, reducing the need for developer-managed memoization. The guide explains how to configure the compiler with React 19 projects, covering basic compiler workflows, optimizations, and ensuring compatibility with ESLint and Babel plugins.
Table of contents
Table of ContentsWhat is a Compiler, Traditionally?React Compiler ArchitectureReact Compiler in ActionReact Compiler in React DevToolsDiving Deep – How Does the React Compiler Work?How Do You Opt in and Out of the React Compiler?Can We Use the React Compiler with React 18.x?What's Next?5 Comments
Sort: