This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-06
Channels
- # announcements (2)
- # beginners (110)
- # calva (4)
- # cider (2)
- # cljs-dev (3)
- # cljsrn (1)
- # clojure (83)
- # clojure-dev (56)
- # clojure-italy (2)
- # clojure-nl (6)
- # clojure-uk (19)
- # clojurescript (14)
- # core-async (1)
- # cursive (6)
- # datomic (1)
- # defnpodcast (1)
- # figwheel (1)
- # figwheel-main (87)
- # fulcro (7)
- # graphql (1)
- # luminus (3)
- # off-topic (5)
- # pedestal (6)
- # re-frame (1)
- # reagent (3)
- # shadow-cljs (22)
- # spacemacs (1)
- # specter (12)
I am trying to port a lib and in Clojure the author extends clojure.lang.Seqable
. What would be the equivalent in Cljs?
ISeqable
would not work because it is a protocol and I don't think I can extend a protocol in cljs? not sure though
I guess my question is similar to this one: https://stackoverflow.com/questions/34700857/how-to-extend-protocols-to-clojurescript-collections-generically#34701074
what does the :externs ["react/externs/react.js"]
in lein's project.clj clojurescript compiler options when using reagent do? I can't find it being documented somewhere
I understand what :externs
does, I just don't understand where the "react/externs/react.js"
path comes from