This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-03
Channels
- # aws (5)
- # beginners (67)
- # boot (30)
- # cider (55)
- # clara (7)
- # cljs-dev (6)
- # cljsjs (6)
- # cljsrn (1)
- # clojure (136)
- # clojure-brasil (2)
- # clojure-dusseldorf (14)
- # clojure-finland (9)
- # clojure-italy (49)
- # clojure-nl (1)
- # clojure-romania (6)
- # clojure-russia (4)
- # clojure-uk (16)
- # clojurescript (136)
- # core-async (1)
- # cursive (21)
- # datomic (64)
- # fulcro (26)
- # hoplon (25)
- # jobs-discuss (53)
- # keechma (3)
- # leiningen (6)
- # luminus (11)
- # lumo (2)
- # off-topic (351)
- # om (1)
- # onyx (11)
- # parinfer (32)
- # portkey (9)
- # re-frame (45)
- # reagent (38)
- # shadow-cljs (60)
- # specter (9)
- # vim (8)
- # yada (22)
Hi there,
I just wanted to update react-datepicker
and tried to do it like in https://github.com/cljsjs/packages/blob/master/react-datepicker/resources/cljsjs/react-datepicker/common/react-datepicker.ext.js
Thing is, that it does not find any DatePicker
namespace. I used dependencies like that:
on https://tomjkidd.github.io/javascript-externs-generator/ like in the ext-file.
My suspicion is that
https://cdnjs.cloudflare.com/ajax/libs/react-datepicker/0.53.0/react-datepicker.js
compared to
https://cdnjs.cloudflare.com/ajax/libs/react-datepicker/1.4.0/react-datepicker.js
seems minified. I have not too much clue about all this js-stuff but it looks quite different and I cannot find exports["DatePicker"]
in the 1.4 version.
Anyone has an idea what the problem is? Thanks in advance!@timok Check browser console. React-dom url is wrong and react-datepicker can't be loaded without react-dom.
Though there is some error even with correct react-dom umd url
Okay, React-datepicker requires PropTypes also, this list works: