This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-14
Channels
- # adventofcode (38)
- # announcements (42)
- # aws (3)
- # babashka (8)
- # beginners (165)
- # calva (36)
- # chlorine-clover (14)
- # cider (6)
- # clj-kondo (5)
- # cljsrn (33)
- # clojure (27)
- # clojure-australia (1)
- # clojure-czech (1)
- # clojure-doc (1)
- # clojure-europe (26)
- # clojure-nl (6)
- # clojure-spec (6)
- # clojure-uk (3)
- # clojurescript (10)
- # code-reviews (20)
- # conjure (1)
- # core-logic (5)
- # cursive (3)
- # data-science (5)
- # datomic (35)
- # emacs (1)
- # figwheel-main (3)
- # fulcro (10)
- # honeysql (1)
- # introduce-yourself (4)
- # jobs (3)
- # jobs-discuss (4)
- # minecraft (2)
- # missionary (28)
- # nextjournal (3)
- # off-topic (45)
- # pathom (7)
- # polylith (1)
- # portal (22)
- # practicalli (2)
- # re-frame (4)
- # reagent (19)
- # releases (3)
- # remote-jobs (3)
- # reveal (1)
- # rum (4)
- # shadow-cljs (37)
- # spacemacs (14)
- # sql (1)
- # tools-build (7)
- # tools-deps (16)
- # vim (13)
- # xtdb (15)
I need it as react key, like in https://github.com/tonsky/datascript-chat/blob/3d4b0c456483f2feb0b9af9ab42e94928ecd2743/src/datascript_chat/ui.cljs in line 83 (rum/defc message [msg] (let [user (:message/author msg)] [:.message {:key (:db/id msg) :class [(when (:message/unread msg) "message_unread") (when (:user/me user) "me")]} but when I put it, it doesn't appear in the dom
Pretty sure React simply doesn't render key
as at attr but I could be wrong. Is the issue that you actually need it in the DOM, or is it just that you expect it to be in the DOM and it's not there? It does not appear in the DOM in that sample app, either. https://tonsky.me/datascript-chat/