riverpod
riverpod copied to clipboard
A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
The functionality wise looks the same. Why can't we have just Ref for everything? Basically, what WidgetRef gives in addition to Ref that it can't do?
2.0.0-dev.4 introduces `listenSelf` on providers. When used with a `StateNotifierProvider` the arguments to the `listenSelf` function are typed for the notifier and not the state. We were expecting that the...
**Describe what scenario you think is uncovered by the existing examples/articles** It seems, providers are initialised lazily only when needed, possibly never. This isn't mentioned in documentation, so I assumed...
**Describe what scenario you think is uncovered by the existing examples/articles** I cannot find any documentation on when a `Provider` will notify about a new value. **Describe why existing examples/articles...
The todos example shows adding and dismissing todos on a single screen. It is quite clear how the state of the todo list is manipulated in this example. Suppose however...
**Describe the bug** The migration tool is doing this in the code base: ![image](https://user-images.githubusercontent.com/1381736/154018516-fe3378a7-a16b-410f-9f27-2cfa04dd16ce.png) where `currentMsgNoticesLoader` is a custom class that has a `refresh` method that is unrelated to Riverpod....
**Describe the bug** When running riverpod migrate on my project, riverpod recommended passing WidgetRef ref into a stateful widget's initState method. **To Reproduce** Run riverpod migrate **Expected behavior** Shouldn't recommend...
Hi. I have a ``StateNotifier`` (A) and its corresponding ``StateNotifierProvider`` (B). I wanna pass a simple string to the A class. So I used ``.family`` in B. Question: When I...
Related to https://github.com/rrousselGit/river_pod/issues/779 but for when "addListener/removeListener" equivalents are called, instead of when "hasListeners" changes