# React Compiler

10 Hacker News commenters recommended React Compiler and 6 criticized it, November 2025 to November 2026. It was recommended in 7 of 13 months.

**Verdict:** Automatically adds memoization to React code, replacing manual useMemo, useCallback and memo, with people reporting render gains in production. Critics note skepticism about the automatic approach and mixed results.

## Why people recommend it

- Automatically replaces manual memoization boilerplate (4 comments): "It's very easy to configure and can automatically deal with many cases of useMemo / useCallback / memo to reduce boilerplate in code" ([source](https://news.ycombinator.com/item?id=48274676)) "all useMemo and useCallback can be removed and you get the same runtime performance and then some" ([source](https://news.ycombinator.com/item?id=48474213)) "with React Compiler it's actually pretty good at automatically adding those" ([source](https://news.ycombinator.com/item?id=46441051))
- Reduces unnecessary renders and boosts performance (2 comments): "React compiler is awesome for minimizing unnecessary renders" ([source](https://news.ycombinator.com/item?id=45801130)) "the render performance gain has been massive" ([source](https://news.ycombinator.com/item?id=48474954))
- Works well in production codebases (3 comments): "Performance has been fine overall, and we haven't ran into any major bugs attributable to it in that time." ([source](https://news.ycombinator.com/item?id=48474089)) "Already being used in production at large code bases." ([source](https://news.ycombinator.com/item?id=47481668)) "It really does work very well in practice." ([source](https://news.ycombinator.com/item?id=48475554))
- Matches or beats manual optimization (2 comments): "all useMemo and useCallback can be removed and you get the same runtime performance and then some" ([source](https://news.ycombinator.com/item?id=48474213)) "the Compiler now does this for you and better than you ever could manually" ([source](https://news.ycombinator.com/item?id=47030518))

## What people warn about

- Skepticism about automatic memoization approach (3 comments): "I been very skeptical of the automatic memoization features" ([source](https://news.ycombinator.com/item?id=48475233)) "It's the definition of overengineering IMHO." ([source](https://news.ycombinator.com/item?id=49576818)) "react compiler muddies the water a bit" ([source](https://news.ycombinator.com/item?id=49129265))

## Alternatives hackers recommend

- [Oxc](https://hackerapproved.com/p/oxc.md): 14 recommend
- [SWC](https://hackerapproved.com/p/swc.md): 8 recommend
- [Google Closure Compiler](https://hackerapproved.com/p/google-closure-compiler.md): 6 recommend
- [Babel](https://hackerapproved.com/p/babel.md): 5 recommend

## Cite as

Hacker Approved, "React Compiler", https://hackerapproved.com/p/react-compiler/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
