Skip to content
New issue

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

Can this be used with Next.js? #173

Open
kcrtr opened this issue May 24, 2022 · 2 comments
Open

Can this be used with Next.js? #173

kcrtr opened this issue May 24, 2022 · 2 comments

Comments

@kcrtr
Copy link

kcrtr commented May 24, 2022

I haven't been able to figure it out, please forgive me I'm still in my learning stages with development.

@wesbos
Copy link
Contributor

wesbos commented May 31, 2022

I've had trouble with these types on things on Next.js because it's rendered both on the server and the client.

kybarg/react-qr-scanner#38 Here is a very similar issue that might be able to thelp

@danimoh
Copy link
Member

danimoh commented Jun 1, 2022

Do you know what exactly is not working?
Starting the scanner obviously won't work on the server, so the more interesting thing is whether creating a QrScanner instance at least works or if not, what in the constructor is incompatible with SSR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants