Hacker News new | ask | show | jobs
by jbawn 2309 days ago
Looks like it's called both ways:

useStickyState("count", 0);

Then later in the article:

useStickyState('day', 'calendar-view');

1 comments

Ah, good catch! Yeah, I changed this partway through, missed that!

Thanks for the heads-up.