preact-signals

Preact Signals: Supercharge your React/Preact development! Unleash the power of reactive programming with hooks, components, a TanStack query adapter, and more. Code smarter, not harder

MIT License

Downloads
9.5K
Stars
65
Committers
4

Bot releases are visible (Hide)

preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • ffabfd1: Marked type-fest as forward dependency. Fixes #67
  • Updated dependencies [ffabfd1]
preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • ffabfd1: Marked type-fest as forward dependency. Fixes #67
preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • ddd7223: Fixed exports field fallbacks
preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • c8bba5f: Fixed removal of all cjs imports by babel plugin
preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 9 months ago

Minor Changes

  • ce35a28: Implemented macros to simplify creation of ReactiveRef-s

    Without macros:

    import { $ } from "@preact-signals/utils";
    
    const a = $(() => 1);
    

    With macros:

    import { $ } from "@preact-signals/utils/macro";
    
    const a = $(1);
    

    More information about macros setup can be found in README

preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • 97be1be: Fix: reexport `useMutation# @preact-signals/query
preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 7999b3f: Reexport writableRefOfArrayProp and writableRefOfObjectProp
preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • Updated dependencies [b714456]
  • Updated dependencies [d57bc98]
  • Updated dependencies [b875b2b]
preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 10 months ago

Minor Changes

  • d57bc98: Seted minimal peer version of @preact-signals/safe-react because of incompatibility of directives
  • b875b2b: Renamed Uncached -> ReactiveRef, WritableUncached -> WritableReactiveRef.
    Still exported as Uncached and WritableUncached for backwards compatibility. Can be removed in next versions
    Added writableRefOfObjectProp and writableRefOfArrayProp to create writable refs for object/array properties.
    Improved jsdoc comments.

Patch Changes

  • b714456: Added info about autogenerated docs to README.md.
    Added install guide for @preact-signals/safe-react.
preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 9b02260: Update README with integration playgrounds
preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 1c96810: Fix vite SWC integration in dev mode
preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

preact-signals - @preact-signals/[email protected]

Published by github-actions[bot] 10 months ago

Minor Changes

  • 75d8a9f: # Breaking Changes

    This release changes opt-in and opt-out directives to be the same as in @preact/signals-react.

    @trackSignals -> @useSignals
    @noTrackSignals -> @noUseSignals

    To support new directives, you can just find and replace all instances of the old directives with the new ones.