logoalt Hacker News

Capricorn248105/04/20251 replyview on HN

That's still state on the frontend, which the commenter claimed sites don't need.


Replies

ysavir05/04/2025

True, I shouldn't have said in memory. As the GP mentioned, you can store the counter value in a URL param. There are ways to achieve dynamic behavior without having to load or store values into JS memory.

show 1 reply