Next.js
3 min
Infinite scroll that doesn't break the back button
Most infinite scroll implementations lose your place the moment you open a post and come back. Here's the fix, and why it needs both a cursor and a cache.
Read
Loading posts.
Writing · 2 posts
Mostly frontend architecture, performance and the parts of accessibility that keep coming up. Long enough to be useful, short enough to finish.
2 results tagged Performance
Most infinite scroll implementations lose your place the moment you open a post and come back. Here's the fix, and why it needs both a cursor and a cache.
PerformanceField data on a 4,000-page enterprise site, what actually moved the numbers, and the two things that turned out to be a waste of time.
Showing 2 of 2 posts.
2 posts · that’s all of them