1 Matching Annotations
- Nov 2022
-
news.ycombinator.com news.ycombinator.com
-
Location state, unlike typical "global state", automatically persists across both refreshes and back/forward button clicks, but dies with the session, so scroll restoration will work as expected even for a refresh! Built in browser APIs tend to be a bit more resilient than storing stuff in application memory, they also keep your bundle smaller.
Tags
Annotators
URL
-