dillon1000/react
Commit
Browse files [rcr] Update default runtimeModule to react-compiler-runtime (#31144)
Updates the compiler to always import from `react-compiler-runtime` by default. The runtime then decides whether to use the official or userspace implementation of useMemoCache.
Changed paths8 files
First-parent comparisoncompiler/apps/playground/babel.config.js ModifiedM compiler/packages/babel-plugin-react-compiler/package.json ModifiedA compiler/packages/babel-plugin-react-compiler/scripts/link-react-compiler-runtime.sh AddedM compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts ModifiedA compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/target-flag.expect.md AddedA compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/target-flag.js AddedM compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/userspace-use-memo-cache.expect.md ModifiedM compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/userspace-use-memo-cache.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…