The React Compiler bails out (safely, at build time) on components using patterns it can't statically verify are safe to auto-memoize — most often mutating a value after it's been read during render, or calling a hook conditionally. Check the compiler's diagnostic for the exact rule violated; components it skips still work, they just don't get auto-memoization.