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
When trying to use Stroybook together with NextJS, I'm running into an issue that router is missing because Storybook only renders the component.
No router instance found. You should only use "next/router" inside the client side of your app.
I still want to use next/link because I think it's better practice. How would you suggest to bypass the issue with Storybook.
next/link
Thanks!
The text was updated successfully, but these errors were encountered:
Check this: #1827 (comment)
It's for Jest. But the root cause is the same.
Sorry, something went wrong.
No branches or pull requests
When trying to use Stroybook together with NextJS, I'm running into an issue that router is missing because Storybook only renders the component.
No router instance found. You should only use "next/router" inside the client side of your app.
I still want to use
next/link
because I think it's better practice.How would you suggest to bypass the issue with Storybook.
Thanks!
The text was updated successfully, but these errors were encountered: