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

If a provider depends on another provider using methods such as ref.read/ref.invalidate & co, then the assert responsible for detecting missing providers in `dependencies: [...]` is unable to throw. This...

enhancement

The lint ignores dependencies though `invalidate` and possibly other life-cycles

bug
linter

**Is your feature request related to a problem? Please describe.** Often times, when creating a class provider, you may want to have `somethingProvider`. To do this, you would have to...

enhancement

@rrousselGit @josh-burton I also encountered the same stack information, but I'm not sure if it's the same problem. ![image](https://github.com/rrousselGit/riverpod/assets/8407922/0bfa7d25-eee3-4cc3-bc19-484385682a32) This is the smallest reproducible sample: ```dart void main() { runApp(const...

bug

Is it possible to add updateState to Notifier just like it was present in StateProvider? `ref.read(provider.notifier).update((state) => state + 1);` Currently as per documentation the only way to get this...

enhancement

Some folks do: ```dart State? build() => null ``` This likely stems from a misusage of the Riverpod API and should therefore be discouraged

enhancement
linter

Say a parameter is named "state". That wouldn't work because Ref.state and Notifier.state already exist, in which case there is a name conflict. We should offer a proper error message...

enhancement
riverpod_generator

- [ ] concepts/combining_providers.mdx - [ ] concepts/modifiers/auto_dispose.mdx - [ ] concepts/modifiers/family.mdx - [ ] concepts/provider_lifecycles.mdx - [ ] concepts/provider_observer.mdx - [ ] concepts/providers.mdx - [ ] concepts/reading.mdx - [...

documentation

Hello, everyone I would like to thank you, @rrousselGit, for your incredible package. I appreciate all of your work on Flutter, and I am new to the framework and Riverpod...

documentation
needs triage

Cf https://riverpod.dev/docs/essentials/side_effects#defining-a-notifier in the "caution" about constructors in notifiers.

enhancement
linter