Re:Persisting React State in LocalStorage
by joshwcomeau on Friday February 28, 2020 @01:08PM
(#22444853)
Ah, good catch! Yeah, I changed this partway through, missed that!
Thanks for the heads-up.
Thanks for the heads-up.
useStickyState("count", 0);
Then later in the article:
useStickyState('day', 'calendar-view');