Niklas Stadigs
nstadigs.bsky.social
Niklas Stadigs
@nstadigs.bsky.social
October 8, 2025 at 12:30 PM
I just had an idea for a client-side react cache lib. What if you had a hook like `useRead` here. Any call to `read` would register a subscription to changes of that entry in a cache. And any call to `useRead` would cancel the previous subscriptions before new ones are registered during render.
April 1, 2025 at 1:39 PM