reagent

Fredrik Andersson 2023-06-05T18:32:05.939489Z

Hi, I'm using "qrcode.react": "^3.1.0" in order to render a QR code. It's a react component that I use like so

[:> qrcode/QRCodeCanvas qr-code])
the qr-code is subscribed from re-frame like this
(let [qr-code @(subscribe [:login-qr-code])
The qr-code is updated once every second. The problem I have is that the component doesn't seem to re-render when the code updates. It used to work before I started to implement re-frame. But I'm not sure if it's re-frame or the fact that I updated react to 18.2.0. Any ideas?

Fredrik Andersson 2023-06-05T18:35:11.339639Z

i'm sorry, i finally realized that I needed to {:value qr-code}