Data fetching and data mutations are two important concerns when building mobile apps.
Riverpod can handle both, as long as you choose the correct class or provider:
- Fetching data? Use
FutureProvider
orStreamProvider
- Mutating data? Use
AsyncNotifier
For more details, read this article:
Found this useful? Show some love and share the original tweet 🙏
Previous | Next |
---|---|
Flutter web: redirect to an external URL | First steps to tackle when starting a new mobile app |