Repository navigation
solidart-v2.0.0
Changelog
- CHORE: Improve the performance by using
alien_signalsfor the reactive system. - FEAT: Expose
untracked. - REFACTOR: Updated the reactive system from scratch, improving the performances.
- BREAKING CHANGE: Remove
setandcallmethods from Signals (Use an extension to have them back). - FEAT: Add
useRefreshingtoResourceto decide whether to update the current state withisRefreshing(defaults to true). If you set it to false, when refreshing, the resource will go directly to the loading state. - FEAT: Add
Signal.lazyto 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,createEffectandcreateResourcehelpers. - CHORE: Remove
SignalOptionsandResourceOptionsclasses. - FEAT: Add
batchfunction to execute a callback that will not side-effect until its top-most batch is completed. See docs here - CHORE: Add
trackInDevToolstoSignalOptionsandResourceOptionsto disable the DevTools tracking for specific signals and resources, defaults toSolidartConfig.devToolsEnabled.
What's Changed
Full Changelog: flutter-solidart-v2.0.0-dev.3...solidart-v2.0.0