We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm importing useSessionStorage into a client component but get the error : useSessionStorage is a client-only hook
This happens during build thus the project can't be built.
And during development. My requested page gets a 500 error but still renders in the browser and data is set in the session storage.
Minimal reproduction can be found here: https://github.com/reekrd/min-rep-client-only-hook/
The text was updated successfully, but these errors were encountered:
This is a duplicate of #218
As said in #254 (comment) 'use client' not always run on the client.
Sorry, something went wrong.
No branches or pull requests
I'm importing useSessionStorage into a client component but get the error : useSessionStorage is a client-only hook
This happens during build thus the project can't be built.
And during development. My requested page gets a 500 error but still renders in the browser and data is set in the session storage.
Minimal reproduction can be found here: https://github.com/reekrd/min-rep-client-only-hook/
The text was updated successfully, but these errors were encountered: