riverpod
riverpod copied to clipboard
A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
Currently, calling `ref.read` on a provider that isn't listened yet (no ref.watch/listen) does not trigger `ref.onCancel`. Yet at the same time, that provider is considered to be paused, as it...
Currently supported: - [x] plain objects - [x] futures - [x] class variants of the above two Currently unsupported type: - [ ] Streams - [ ] legacy object types...
https://github.com/rrousselGit/riverpod/tree/master/examples/pub Demo cannot be launched in a web browser. It throws ```The following JSRangeError was thrown building: Invalid argument: Maximum call stack size exceeded ... ======== Exception caught by SVG...
**Describe the bug** When I take a look at the stackoverflow example to run it for the web Flutter throws the error. Am I missing something? I did `flutter pub...
A common use case is to trigger side-effects and have the UI listen to the status of that side-effect (such as showing a spinner/snackbar on error) I don't think there...
**Is your feature request related to a problem? Please describe.** I am wanting to call ref.invalidate for my providers upon the destruction of the StateNotifier.autoDispose and was wondering if there...
**Describe the bug** This test fails. **Test** ```dart class Counter { Counter(this.count); final int count; } void main() { final provider1 = Provider((_) => Counter(1)); final provider2 = Provider((ref) =>...
**Describe what scenario you think is uncovered by the existing examples/articles** Browsed through riverpod.dev for first time, and had some difficulty deciding on which package to use for a Flutter...
**Is your feature request related to a problem? Please describe.** In `AutoDisposeStreamProvider`, the type of the getter `originProvider` is `ProviderBase`. This was an issue when I wanted to override a...