How Do I Paginate My Data? | Get to know Cloud Firestore #7

preview_player
Показать описание
Paginating your data is a great way to save your money, but it also helps save your users from downloading more data than they actually need. Pagination is important because it only sends the user, the data that is pertinent to their request. In this episode of Get to Know Cloud Firestore, Todd (and his giant edible gummy bear) explain how to paginate your Cloud Firestore results. Subscribe to the Firebase YouTube channel, and let us know what you think in the comments below!

Рекомендации по теме
Комментарии
Автор

Amazing course, good job Todd and Firebase crew! I watched all 7 videos published so far in a single morning and I don't feel lost anymore!

NicoloZanetti
Автор

Brilliant, and answers real questions with real limitations (eg costs), please keep creating.

kingsleyforbes-smith
Автор

The Firestore videos series is awesome. Its nice to have a cool dude make you laugh while you learn about underlying technology. Great content and very helpful. Keep sharing please :D ;)

nawaralsafar
Автор

It is great to see a video on pagination best practices. Thank you!

CoryMcaboy
Автор

Remember that incremental (limit) pagination breaks if you have persistence on, queries might trigger from old cached values. Say you query for 10 elements, you might get 2 element from older cache.

dlepro
Автор

Thanks for this! I would love a video that suggests a schema for commenting on user's posts. It's a little tricky to set it up so it's safe permission wise, but also logical query-wise.

jamieperkins
Автор

Thank you for sharing this informative video! I hope you are well: Todd & Firebase Team!

pandarzzz
Автор

I loved this gummy big bear intro haha

j.guillaumed-isabelle
Автор

Hey Todd, are you available to do the instructional videos for our app🤣? Seriously, another great video. I haven't got up to thinking about pagination yet but I will soon and this explains pretty much everything I need to know.

chriscurnow
Автор

these videos are really really good and instructional, thanks for them

luiswebdev
Автор

great video - thanks - would be great to see a result count for the query as well, though I understand it's not easy in firestore

jonnyp
Автор

This pagination this is really cool, not tedious and very efficient. Nice work Google Firebase Team!

smrtsoftware
Автор

Hi Todd, was expecting your video after the GA on the enhancements to Firestore and things to lookout for. Any videos in the making? 🎬

raghav
Автор

Another way is order query result by timeStamp descending or ascending, then retrieve document according to document timeStamp

CK
Автор

Some people tend to say awesome for just 'ok' stuff. But this playlist is really... awesome :) The content, the presentation, the animations. Everything is top quality. Keep up the good work!

codeconcept
Автор

Thx for the simple show of options and associated tradeoffs . PS - where on Earth did you find such a enormous gummy bear? Must have doubled this episode's production costs...

noamgonen
Автор

this video is great in explaining the theory behind, but where are the code examples? why is this not in the angularfire docs?

rubenheymans
Автор

Thanks. Would be great to have a new video focusing more in pagination for realtime cases, like chat apps, for instance. It's kind of complicated to find help online for a consistent way to implement pagination with real-time updates with Firestore

erickeft
Автор

When are we getting that video on cloud functions that was promised in #5...?

everu
Автор

If I increase the limit from 20 to 40 to 60, do I really fetch also the first 20 documents all the time?
I thought that the Firestore client SDKs cache these documents and send me those documents only if it's needed.
Or is it just that I get billed for those, but Firestore tells the client SDK that it already has the most recent version of the first 20 documents?

Bigjunior