I’ve read a few blog posts about pagination strategy and it makes sense to me, but I’m wondering how other people handle data updates by other users. For example, if I pull page 1 of a paginated list of todos sorted by created_at date, save it in my store and move on to page 2, what happens if another user adds a todo to the database. My page 1 data is now incorrect. Can anyone recommend any articles or videos on keeping store data in sync with the database?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Pagnated Queries Topic - react-course-part2-starter | 1 | 139 | March 19, 2024 | |
queryClient.setQueryData type is not correct | 0 | 96 | June 9, 2024 | |
Pagination - Displaying pages | 7 | 1689 | January 27, 2022 | |
Unable to get or fetch product detail page using react or react with redux for Django store API | 0 | 258 | October 26, 2022 | |
Pagination working locally but not remotely | 0 | 422 | November 24, 2020 |