sampl / firefly

Web app boilerplate for beginners based on Firebase and React 🔥
http://getfirefly.org/
234 stars 42 forks source link

Pagination #32

Open sampl opened 7 years ago

sampl commented 7 years ago

Paginate the list of posts

sampl commented 7 years ago

Paginate util component with an items-per-page param and a next-key state, all hitting a new related supermodel method (getAllPaginated?)

sampl commented 7 years ago

It's tempting to say "just add a link for people who want to do this"

But pagination was one of the things that sent me to Express over Firebase (along with search) and it involves getting models right.

sampl commented 6 years ago

Soft prerequisite - https://github.com/green-arrow/react-firestore/issues/3

sampl commented 6 years ago

Now that Firefly uses react-firestore everywhere, let's make that a hard dependency :)