Back to the lab

LAB 01 / GOKITS

Watch a page shift.

Start with twelve posts. Then add a new one before requesting the next page and watch what each pagination strategy returns.

Illustration only. This browser demo explains a tradeoff; it does not run gokits or a database.
Between page requests

Page 1 · already seen

1211109

Page 2 · offset

8765

No duplicate in this snapshot.

Page 2 · cursor

8765

Continue after post 9.

Both approaches return the same second page while the list stays unchanged. Add a post to see the difference.