This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-06-05
Channels
- # announcements (11)
- # architecture (22)
- # babashka (33)
- # beginners (15)
- # biff (8)
- # calva (7)
- # clj-otel (1)
- # cljs-dev (3)
- # cljsrn (5)
- # clojure (76)
- # clojure-art (1)
- # clojure-europe (36)
- # clojure-hamburg (3)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-poland (12)
- # clojure-spec (2)
- # clojure-uk (7)
- # clojurescript (9)
- # cursive (22)
- # data-science (6)
- # datomic (7)
- # fulcro (9)
- # hoplon (14)
- # instaparse (2)
- # jobs-discuss (14)
- # london-clojurians (1)
- # matrix (32)
- # music (1)
- # nbb (8)
- # off-topic (18)
- # pathom (29)
- # pedestal (6)
- # portal (34)
- # reagent (2)
- # reitit (4)
- # releases (1)
- # sci (10)
- # shadow-cljs (7)
- # tools-deps (4)
- # vim (6)
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?i'm sorry, i finally realized that I needed to {:value qr-code}