Open kcrtr opened 2 years ago
I've had trouble with these types on things on Next.js because it's rendered both on the server and the client.
https://github.com/kybarg/react-qr-scanner/issues/38 Here is a very similar issue that might be able to thelp
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.
I haven't been able to figure it out, please forgive me I'm still in my learning stages with development.