riverpod icon indicating copy to clipboard operation
riverpod copied to clipboard

A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.

Results 227 riverpod issues
Sort by recently updated
recently updated
newest added

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?

documentation

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...

enhancement

**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...

documentation

**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...

documentation

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...

documentation

**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....

bug
migration tool

**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...

bug
migration tool

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...

documentation

Related to https://github.com/rrousselGit/river_pod/issues/779 but for when "addListener/removeListener" equivalents are called, instead of when "hasListeners" changes

enhancement