Skip to content

Latest commit

 

History

History
122 lines (68 loc) · 7.8 KB

CHANGELOG.md

File metadata and controls

122 lines (68 loc) · 7.8 KB

@preact/signals-react-transform

0.5.1

Patch Changes

0.5.0

Minor Changes

Patch Changes

  • #628 c3e8e8c Thanks @Artur-! - Avoid cloning the top-level component function when we are prepending useSignals. This fixes compatability with fast-refresh as it requires the function identity to correctly leverage its cache.
  • Updated dependencies [18b2f29, 57a7d38, 18b2f29]:

0.4.0

Minor Changes

0.3.2

Patch Changes

0.3.1

Patch Changes

0.3.0

Minor Changes

  • #467 d7f43ef Thanks @andrewiggins! - Change opt-in/opt-out comment to @useSignals and @noUseSignals. Previous comments (@trackSignals & @noTrackSignals) still supported but deprecated.

Patch Changes

0.2.0

Minor Changes

  • #458 0c0d89f Thanks @andrewiggins! - Only prepend useSignals call if we can't determine whether a function is a component or hook
  • #446 09f3ed7 Thanks @andrewiggins! - Use function expression name to determine if it is a Component and should be transformed.

Patch Changes

0.1.1

Patch Changes

  • #421 f80b251 Thanks @andrewiggins! - Add an "all" mode to the react transform that transforms all components to be reactive to signals
  • #441 4c433c3 Thanks @andrewiggins! - Add support for auto-transforming more ways to specify components: object methods, member assignments, export default components, components wrapped in HoCs like memo and forwardRef

0.1.0

Minor Changes

  • #406 71caaad Thanks @andrewiggins! - Remove support for transforming CJS files

    Removing support for transforming CommonJS files since we have no tests for it currently

Patch Changes

  • #406 71caaad Thanks @andrewiggins! - Register newly inserted import statement as a scope declaration in Babel's scope tracking

0.0.2

Patch Changes

0.0.1

Patch Changes