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!@srihari has joined the channel
@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:
Thanks! 👍
I will try to update it and will try to make a PR.