Skip to content

@preact-signals/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Aug 08:36
· 12 commits to main since this release
8c5b55e

Minor Changes

  • e5c15fa: SWC plugin: added transformHooks (default: true) option

    Hook is detected by RegEx that checks if function name starts with use

    It transforms:

    • every hook that reads .value (in 'auto' and 'all' modes)
    • every hook that has @useSignals comment (in 'manual' mode)

    If you want to opt out from the behavior - you can set transformHooks to false