@tellahq/babel-plugin-react-compiler
v1.0.0-tella.1
Published
babel-plugin-react-compiler 1.0.0 with a fix that tracks ref property projections separately from their containers (props.ref no longer poisons props.id).
Downloads
30,324
Keywords
Readme
@tellahq/babel-plugin-react-compiler
Drop-in replacement for [email protected] with one fix: the ref-access-in-render validator tracks ref property projections separately from their container, so reading props.ref no longer makes props.id (or any sibling prop) count as a render-time ref read. Ref validation isn't disabled or widened.
Built from tellahq/react-compiler ref-property-projections (commit 8d810e8a6c). A build of the upstream-1.0.0 baseline is byte-identical to npm's [email protected], so this package differs from 1.0.0 only by that change.
Use it as an alias so tooling that loads the plugin by name (e.g. Next.js reactCompiler: true) picks it up:
"babel-plugin-react-compiler": "npm:@tellahq/[email protected]"MIT licensed; original work © Meta Platforms, Inc. and affiliates.
