solidart-v2.0.0
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
andcall
methods from Signals (Use an extension to have them back). - FEAT: Add
useRefreshing
toResource
to 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.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
andcreateResource
helpers. - CHORE: Remove
SignalOptions
andResourceOptions
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
toSignalOptions
andResourceOptions
to 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