You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if the library could do this, so that we can avoid querySelector() and the like and use idiomatic React, i.e. useRef()/createRef() instead.
The text was updated successfully, but these errors were encountered:
You cannot use ref on the original QRCode component, as a work around it you can wrap the QRCode component with a div element and pass the rep into the div element like so:
It would be nice if the library could do this, so that we can avoid
querySelector()
and the like and use idiomatic React, i.e.useRef()
/createRef()
instead.The text was updated successfully, but these errors were encountered: