Skip to content

Releases: diegohaz/rolldown-plugin-react-forward-ref

rolldown-plugin-react-forward-ref@0.2.1

Choose a tag to compare

@github-actions github-actions released this 18 Sep 22:40
48a3f3d

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

Choose a tag to compare

@github-actions github-actions released this 12 Sep 22:12
341efe8

Minor Changes

  • 948f145: Add elementFactories to 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 optional argumentIndex. Direct calls, constructors, other arguments, and unknown helpers still prevent adaptation.

rolldown-plugin-react-forward-ref@0.1.0

Choose a tag to compare

@diegohaz diegohaz released this 12 Sep 21:06
4c89d41

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-ref

Production 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.