A practical guide to understanding what the React Compiler does, when it helps, and when you still need memo().
The compiler runs at build time and transforms your components to add automatic caching. It inserts a cache (_c()) inside every component and hook, storing cached JSX elements, computed values, and function references.