This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-30
Channels
- # aleph (15)
- # announcements (4)
- # aws (2)
- # bangalore-clj (7)
- # beginners (236)
- # calva (24)
- # cider (11)
- # cljs-dev (63)
- # clojure (141)
- # clojure-europe (3)
- # clojure-india (2)
- # clojure-italy (8)
- # clojure-nl (3)
- # clojure-spec (8)
- # clojure-uk (52)
- # clojured (1)
- # clojuredesign-podcast (4)
- # clojurescript (35)
- # clojutre (3)
- # community-development (1)
- # cursive (77)
- # data-science (1)
- # datomic (3)
- # emacs (13)
- # fulcro (7)
- # graalvm (78)
- # graphql (2)
- # nrepl (7)
- # off-topic (18)
- # pathom (25)
- # reagent (12)
- # reitit (31)
- # shadow-cljs (178)
- # spacemacs (7)
- # tools-deps (32)
- # xtdb (10)
- # yada (3)
Hey everyone, maybe someone knows 🙂. I’m trying to parse a list of :hiccups with some ant/components, and trying to differentiate the ant/components with each other. But these have the type NativeWrapper, which is not useful at all. Any help is appreciated
https://github.com/reagent-project/reagent/blob/bd8603dce8e675fd4fe4f8c841c4369e4e39421d/src/reagent/impl/template.cljs#L261 and https://github.com/reagent-project/reagent/blob/bd8603dce8e675fd4fe4f8c841c4369e4e39421d/src/reagent/impl/template.cljs#L322
Yes I saw that too, but I could not see a way to extract the tag from the object

Thanks, will look at it 🙂
Would be nice if you could just do [:ant/something like we do for normal tags
But I guess that would mean that reagent needs to know how to deal with that
@bfleischer https://blog.klipse.tech/clojurescript/2016/04/26/deftype-explained.html
so in theory just .-tag
, it doesn't seem to work though in this case
> (deftype Hello [f s third])
> (.-f (->Hello "a" "b" "c"))
"a"
that works also in cljs though, so it's a start
Thanks Andrea, maybe it’s an issue with Antizer