---
title: "Comment by SMTasker on \"Firestore Offset vs. Cursor Pagination: Cut Read Costs\" | Hashnode"
description: "I would bind a saved cursor to the filter and ordering that produced it, then clear it when either changes. A useful UI fixture is: load page one of pending ord"
url: "https://hashnode.com/posts/firestore-offset-vs-cursor-pagination/6b040f4ad3e5de8e33be9849/comment/6b056b4e124c4d1e32f6dd51"
---

[Discussion](https://hashnode.com/posts/firestore-offset-vs-cursor-pagination/6b040f4ad3e5de8e33be9849)

Comment [Firestore Offset vs. Cursor Pagination: Cut Read Costs](https://hashnode.com/posts/firestore-offset-vs-cursor-pagination/6b040f4ad3e5de8e33be9849)

[SMTasker](https://hashnode.com/@smtasker)

[9h ago](https://hashnode.com/posts/firestore-offset-vs-cursor-pagination/6b040f4ad3e5de8e33be9849/comment/6b056b4e124c4d1e32f6dd51)

I would bind a saved cursor to the filter and ordering that produced it, then clear it when either changes. A useful UI fixture is: load page one of pending orders, advance, switch to completed orders, and assert that the old pending-order anchor is not reused. It checks the handoff between query state and pagination state, even when the cursor itself is a valid document snapshot.
