RxDart by example: querying the GitHub Search API with switchMap & debounce

Опубликовано: 07 Октябрь 2024
на канале: Andrea Bizzotto
5,194
151

Written tutorial here: 👇👇
https://codewithandrea.com/videos/202...

This tutorial shows best practices for implementing search with RxDart in Flutter, using the GitHub Search REST API as an example.

HIGHLIGHTS

00:00 - Intro
01:22 - Code Overview
02:02 - Adding a stream listener
02:48 - getting responses in-order with the asyncMap operator
03:39 - discarding in-flight requests with the switchMap operator
04:13 - dealing with rate limits with the debounce operator


CREDITS
ReactiveConf 2018 - Brian Egan & Filip Hracek: Practical Rx with Flutter:    • ReactiveConf 2018 - Brian Egan & Fili...  

Full Source Code: 👇👇
https://github.com/bizz84/github_sear...

Want more? Check out all my Flutter courses: 👇👇
https://codewithandrea.com/courses/

Happy coding!