// the find
zpao/qrcode.react
A <QRCode/> component for use with React.
A React component for generating QR codes, exporting separate SVG and Canvas variants. Maintained by a Meta engineer, actively updated, and does exactly what it says. Good fit for any React app that needs QR codes without pulling in a heavier library.
SVG output is genuinely useful — scales without blurring and works cleanly in print contexts. The embedded image support (logos, etc.) handles the CORS edge case correctly and documents it honestly. Multi-segment encoding since v4.1 lets you optimize QR density by splitting value types. The bundled QR code generator is vendored and MIT-licensed, so there's no runtime dependency surprise.
Default error correction level is L (~7%), which is a bad default for logos — if you use imageSettings.excavate without bumping level to H or Q, you're going to get unreadable codes in the field. Canvas rendering on high-DPI displays requires you to wire up your own resize detection and pass the right size; the component won't do it for you. No support for structured append (multi-code sequences for large data) or the optimized Kanji encoding mode, which matters if you're encoding Japanese text at scale. The snapshot-heavy test suite will pass even if the rendered output is visually broken.