React 19 Hook Guards Crash During Rendering with React Compiler
- Investigating(current)
- Trending(upcoming)
- Workaround available(upcoming)
- Resolved(upcoming)
Executive summary
Users report that React Compiler hook guards crash during rendering when using React 19. The issue involves incorrect JS output or build/runtime issues related to the React Compiler core.
No verified workaround yet
None of the linked reports describe a mitigation. Follow this incident to hear when one appears.
Official fixUnder active investigation. No report has identified a root cause yet.
Evidence
1 report · 1 GitHubShow
- [1]GitHub First report[Compiler Bug]: Hook guards crash during rendering with React 19(opens GitHub issue in a new tab)
What kind of issue is this? React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization) babel-plugin-react-compiler (build issue installing or using the Babel plugin) eslint-plugin-react-hooks (build issue installing or using the eslint plugin) react-compiler-healthcheck (build issue installing or using the healthcheck script) Link to repro https://github.com/chengchuu/reproductions/tree/main/react/compiler-hook-guards Repro steps With…
by chengchuu 0upvotes 0comments
Timeline
- First report on GitHub issue
[Compiler Bug]: Hook guards crash during rendering with React 19
Source