Releases: diegohaz/rolldown-plugin-react-forward-ref
Releases · diegohaz/rolldown-plugin-react-forward-ref
Release list
rolldown-plugin-react-forward-ref@0.2.1
Patch Changes
- 67c49bc: Add a transform hook filter so Rolldown and Vite skip handler calls for unsupported files, declarations, dependencies, virtual modules, and raw or URL requests.
rolldown-plugin-react-forward-ref@0.2.0
Minor Changes
- 948f145: Add
elementFactoriesto allow ref adaptation for components passed to trusted element helpers. Strings match a local helper name at argument 0. Import descriptors match an exact source and export name, with an optionalargumentIndex. Direct calls, constructors, other arguments, and unknown helpers still prevent adaptation.
rolldown-plugin-react-forward-ref@0.1.0
Initial release of rolldown-plugin-react-forward-ref.
Transform selected React ref-prop components for React 18 with module-level forwardRef wrappers. Supports Rolldown, Vite, and Vitest, explicit file filters, TypeScript/JSX component detection, indirect prop forwarding, stable component identity, and source maps.
pnpm add -D rolldown-plugin-react-forward-refProduction dependencies use caret ranges. React stays in the consumer's dependency graph.
Validated with all 152 tests, including React 18/19 runtime tests and a packed-package consumer.