Skip to content

solidart-v2.0.0

Compare
Choose a tag to compare
@nank1ro nank1ro released this 03 Jun 07:55
· 2 commits to main since this release
74c590f

Changelog

  • CHORE: Improve the performance by using alien_signals for the reactive system.
  • FEAT: Expose untracked.
  • REFACTOR: Updated the reactive system from scratch, improving the performances.
  • BREAKING CHANGE: Remove set and call methods from Signals (Use an extension to have them back).
  • FEAT: Add useRefreshing to Resource to decide whether to update the current state with isRefreshing (defaults to true). If you set it to false, when refreshing, the resource will go directly to the loading state.
  • FEAT: Add Signal.lazy to allow the creation of a signal without an initial value. Be aware, the signal will throw an error if you try to read its value before it has been initialized.
  • CHORE: Remove deprecated createSignal, createComputed, createEffect and createResource helpers.
  • CHORE: Remove SignalOptions and ResourceOptions classes.
  • FEAT: Add batch function to execute a callback that will not side-effect until its top-most batch is completed. See docs here
  • CHORE: Add trackInDevTools to SignalOptions and ResourceOptions to disable the DevTools tracking for specific signals and resources, defaults to SolidartConfig.devToolsEnabled.

What's Changed

Full Changelog: flutter-solidart-v2.0.0-dev.3...solidart-v2.0.0