Re:Persisting React State in LocalStorage
by marstall on Friday February 28, 2020 @12:23PM
(#22444392)
what's the best way to do that - tie the data to an account?
[ Parent
| on HN ]
Re:Persisting React State in LocalStorage
by the_gipsy on Friday February 28, 2020 @01:14PM
(#22444921)
Having some kind of "settings" object together with the account sounds reasonable.
However someone above made the point that sometimes LS _is_ a good idea, I just wouldn't do it at the component level.