In this section we'll explore the new Riverpod APIs, using our eCommerce app for reference.
Here's what we will cover:
Provider and FutureProvider to the new @riverpod syntaxfamily modifierStateNotifier subclasses to AsyncNotifier
AsyncNotifier is mountedAsyncNotifier subclassesBy the end, you'll be able to make the most of Riverpod Generator and the most important Riverpod 2.0 APIs.
For a good high-level overview of what's new in Riverpod 2.0, watch this video by Randal Schwartz
To learn the new APIs in-depth, read these articles from my site:
2 comments