{"slug": "react-compiler", "name": "React Compiler", "category": "dev-libs", "category_name": "Libraries and frameworks", "description": "", "recommenders": 1, "commenters": 2, "warners": 0, "score": 1.203, "rising": -0.33, "first": "2026-06-10", "latest": "2026-09-02", "why": "", "why_is_quote": false, "has_verdict": false, "sentiment": {"recommend": 1, "neutral": 1, "compare": 0, "warn": 0}, "spark": [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0], "listed": false, "loved": [], "caveat": "", "short_quote": "", "icon": false, "domain": "react.dev", "github_repo": null, "official_url": "https://react.dev", "pricing": "", "aliases": ["React Compiler"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 775608864, "item_id": 48475554, "url": "https://news.ycombinator.com/item?id=48475554", "by": "molf", "date": "2026-06-10", "stance": "recommend", "quote": "It really does work very well in practice.", "excerpt": "It really does work very well in practice. A few things really help: - Lints [1] that flag code that cannot be (correctly) optimised. Usually this is obscure code that is too smart for its own good. But the compiler leaves it alone and flags it for review, so most things just keep working. - The same lint rules flag code that violate the rules of hooks. These rules became more critical to follow: failure to do so can", "context": "performance-sensitive project", "use_case": "automatic memoization", "switched_from": "Preact", "story": "Port React Compiler to Rust"}]}], "caveats": [], "who": [{"by": "molf", "context": "performance-sensitive project", "url": "https://news.ycombinator.com/item?id=48475554", "date": "2026-06-10"}], "tags": [], "use_cases": ["analysis infrastructure", "automatic memoization"], "compared": [{"slug": "preact", "name": "Preact", "co": 1, "switched_from": 1, "switched_to": 0}, {"slug": "react", "name": "React", "co": 2, "switched_from": 0, "switched_to": 0}], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=49542123", "title": "Vidact \u2013 a compiler that turns React into direct DOM operations", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=48473662", "title": "Port React Compiler to Rust", "mentions": 1}], "sentiment_by_month": {"2025-11": {}, "2025-12": {}, "2026-01": {}, "2026-02": {}, "2026-03": {}, "2026-04": {}, "2026-05": {}, "2026-06": {"recommend": 1}, "2026-07": {}, "2026-08": {}, "2026-09": {"neutral": 1}, "2026-10": {}}, "quotes": [{"id": 792673985, "item_id": 49542124, "url": "https://news.ycombinator.com/item?id=49542124", "by": "mohebifar", "date": "2026-09-02", "stance": "neutral", "quote": "I thought of using React compiler's analysis this time as it has already done most of the heavy lifting.", "excerpt": "I started Vidact as an experiment 6 years ago, an experimental compiler that takes React-style function components and hooks and compiles them into direct DOM operations. The basic idea is: keep React's programming model, but replace its runtime model. It was a very ambitious project back then, but recently, another project I was working on (grep.codemod.com) inspired me to rebuild this and I thought of using React c", "context": "", "use_case": "analysis infrastructure", "switched_from": "", "story": "Vidact \u2013 a compiler that turns React into direct DOM operations"}, {"id": 775608864, "item_id": 48475554, "url": "https://news.ycombinator.com/item?id=48475554", "by": "molf", "date": "2026-06-10", "stance": "recommend", "quote": "It really does work very well in practice.", "excerpt": "It really does work very well in practice. A few things really help: - Lints [1] that flag code that cannot be (correctly) optimised. Usually this is obscure code that is too smart for its own good. But the compiler leaves it alone and flags it for review, so most things just keep working. - The same lint rules flag code that violate the rules of hooks. These rules became more critical to follow: failure to do so can", "context": "performance-sensitive project", "use_case": "automatic memoization", "switched_from": "Preact", "story": "Port React Compiler to Rust"}]}