Re:Persisting React State in LocalStorage
by k__ on Friday February 28, 2020 @04:23PM
(#22446499)
Sure, it was just an example. :)
[ Parent
| on HN ]
I figured as much, but I feel pretty strongly that every piece of state needs to be accessible to a user or to the server, otherwise you lose control of it and that can war on.
I know that for performance reasons, or for privacy reasons, or even for time/effort reasons, that's not always possible, but I'm also always genuinely hopeful that there's some new class of data out there that doesn't fall into that (general) rule.