u/bizz84in r/FlutterDev • Recommends
RxDart by example: querying the GitHub Search API with switchMap & debounce
41K subscribers • 25 videos on Hallway
Intermediate. Assumes working knowledge.
5.4K views6 years ago2 recommendations
Mobile developmentProgramming languagesFlutter and React NativeConcurrency and parallelismAPI design
Andrea Bizzotto demonstrates how to implement search with RxDart in Flutter, using switchMap and debounce to handle API rate limits.
Written tutorial here: 👇👇 codewithandrea.com/videos/2020-05-11-rxdart-by-example-githu… This tutorial shows best practices for implementing search with RxDart in Flutter, using the GitHub Search REST API as an example. HIGHLIGHTS - Intro - Code Overview - Adding a stream listener - getting responses in-order with the asyncMap operator - discarding in-flight requests with the switchMap operator - dealing with rate limits with the debounce operator CREDITS ReactiveConf 2018 - Brian Egan & Filip Hracek: Practical Rx with Flutter: youtu.be/7O1UO5rEpRc Full Source Code: 👇👇 github.com/bizz84/github_search_flutter_client_rxdart_exampl… Want more? Check out all my Flutter courses: 👇👇 codewithandrea.com/courses/ Happy coding!What people say. Recommended as a great example of using RxDart operators like switchMap to handle search streams in Flutter.
u/bizz84in r/FlutterDev • Recommends
u/Aioli_Samein r/FlutterDev • Recommends
On “Is there a way to pause streambuilder and start it programmatically”