Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

info.json

11 lines1.1 KB

1{
2 "name": "Compiler",
3 "phase": "setup",
4 "description": "Add React Compiler",
5 "aiDescription": "React Compiler (formerly React Forget) is an experimental build-time optimization that automatically memoizes your React components and hooks. It eliminates the need for manual useMemo, useCallback, and React.memo calls by analyzing your code and inserting memoization where beneficial. The compiler understands React's rules (like hooks rules and component purity) and optimizes re-renders automatically. Enable this when you want automatic performance optimization without manual memoization boilerplate. It's particularly valuable for large applications with complex component trees where manual optimization is tedious. Note: React Compiler is still experimental and may have edge cases. It works best with idiomatic React code that follows best practices. The compiler integrates via a Babel plugin and requires no runtime changes to your code.",
6 "link": "https://react.dev/learn/react-compiler",
7 "modes": ["code-router", "file-router"],
8 "type": "add-on",
9 "priority": 50,
10 "routes": []