Closed ashrafchowdury closed 10 months ago
It's not a bug. The solution is described here: https://github.com/uidotdev/usehooks/issues/218#issuecomment-1681205155
Here's a issue, proposing better documentation: https://github.com/uidotdev/usehooks/issues/259
Description
I've been trying to use the hooks on
contextAPI
file in NextJS14, but getting a strange error(Error: useLocalStorage is a client-only hook)
. I'd tried multiple hooks, but neither is working.Bug Preview