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.
Loading posts.
Writing · 12 posts
Mostly frontend architecture, performance and the parts of accessibility that keep coming up. Long enough to be useful, short enough to finish.
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.
After a year of App Router work, the biggest shift wasn't the rendering model. It was deleting most of my client state.
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.
The moment tokens stop being a list of hex values and start being a set of promises, the whole system gets easier.
Two projects, two very different Playwright setups. The differences that seemed cosmetic at the start turned out to decide whether anyone trusted the suite.
Showing 5 of 12 posts.