Riverpod 2.0
summary
Riverpod 2.0 adds codegen-based providers that infer provider kind from function signatures and classes, enabling codegen @riverpod syntax, stateful hot-reload of changed providers, and richer debugging via a forthcoming static inspector, lints and doc generator. The demo builds a pub.dev client with infinite pagination, search-as-you-type using HookConsumerWidget, like/unlike via provider.notifier, polling every 5s and pull-to-refresh using ref.invalidate; it works live (one demo app crash is recovered) and most tools are coming soon.
AI-written summary · about
chapters (15)
- 0:00Introduction and updates
- 1:00New devtools and tools
- 2:18Community and documentation
- 2:59Addressing user feedback
- 4:33Introducing new syntax
- 6:30Live coding app setup
- 9:14Implementing provider scope
- 12:26API integration and async
- 14:16Handling loading and errors
- 16:05Dynamic pagination
- 20:17Detail page development
- 24:08Adding search functionality
- 28:25Implementing side effects
- 35:05Polling and refresh
- 37:37Conclusion and recap
related talks
22mFlutter State Smackdown: Comparing BLoC, Provider, Riverpod
14mWhat's new in Serverpod 3
31mFrom frontend to backend with Serverpod
23mSharpCoder Demo: AI Agents Powering Enterprise Vibe Coding
57mFuture of Developer Acceleration with Rails
10mBuilding Software for Vibe Coders
34mA Snapshot Preview of Paparazzi 2.0
32mFeedback and the REPL
