solidart 0.2.4 solidart: ^0.2.4 copied to clipboard
A simple State Management solution for Dart applications inspired by SolidJS
0.2.4 #
- Add assert to resource
fetch
method to prevent multiple fetches of the same resource.
0.2.3 #
- The
select
method of a signal now can take a customoptions
parameter to customize its behaviour. - Fixed an invalid assert in the
ResourceBuilder
widget that happens for resources without a fetcher.
0.2.2 #
createResource
now accepts astream
and can be used to wrap a Stream and correctly handle its state.
0.2.1 #
- Get a signal value with
signalName()
.
0.2.0+1 #
- Add documentation link inside the pubspec
0.2.0 #
- Documentation improvements
- Refactor Resource, now the
createResource
method takes only 1 generic, the type of the future result.// before final resource = createResource<SourceValueType, FetcherValueType>(fetcher: fetcher, source: source); // now final resource = createResource<FetcherValueType>(fetcher: fetcher, source: source); // the FetcherValueType can be inferred by Dart >=2.18.0, so you can omit it
0.1.2 #
- Add official documentation link
- Fix typo in fireImmediately argument name
0.1.1 #
- Set the minimum Dart SDK version to
2.18
.
0.1.0+6 #
- Update Readme
0.1.0+5 #
- Add code coverage
0.1.0+4 #
- Fix typo in README
0.1.0+3 #
- Decrease minimum Dart version to 2.17.0
0.1.0+2 #
- Remove unused import
0.1.0+1 #
- Fix typos on links
0.1.0 #
- Initial version.