I'm using React and the library doesn't seem to recognize elements generated on the fly. Is there a programmatic way to generate a QR code?