This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-17
Channels
- # beginners (47)
- # boot (1)
- # calva (18)
- # cider (16)
- # cljs-dev (6)
- # cljsrn (14)
- # clojure (46)
- # clojure-dev (6)
- # clojure-italy (3)
- # clojure-sweden (2)
- # clojure-uk (1)
- # clojurescript (21)
- # css (1)
- # data-science (1)
- # emacs (2)
- # figwheel-main (2)
- # graalvm (11)
- # leiningen (3)
- # nrepl (19)
- # off-topic (1)
- # pathom (4)
- # re-frame (17)
- # reagent (4)
- # shadow-cljs (49)
I’m looking for a datetime picker but there’s so many of them. So far this one seems popular and light http://projects.wojtekmaj.pl/react-datetime-picker/ — would be curious what others have used and how it worked out?
We have been using this -> https://github.com/arfedulov/semantic-ui-calendar-react, has worked nicely so far:)
hi, I have trouble with :externs I'm using puppeteer (node.js lib to drive Chrome) and trying to use the hack mentioned here: https://swannodette.github.io/2014/03/14/externs-got-you-down but no luck
any hints what I could be doing wrong (or when the hack does not apply)? I tried also to make my own extern file as part of the project but I don't get any meaningful feedback and it seems to be not picked up so that's dead end for me
you should use externs inference instead https://clojurescript.org/guides/externs#externs-inference
I've enabled the extern inference as explained in the doc already. However I can't figure out what's the easiest way to add custom my_namespace_extern.js in the project so that I can specify more detailed hints. I really don't want to create full-blown extern artefact cljsjs style
adding externs file is done via :externs ["path/to/externs.js"]
in the compiler options. that hasn't changed.
thanks. I tried this but it didn't seem to have effect. The path can be to a js file in my source dir, right?
just add both and see. also make sure you write the externs correctly since it is pretty easy to make mistakes there
well, I put all variants (absolute path, resource path) and I don't get any feedback even when the file doesn't compile. That's very frustrating, doesn't the compile dump anything?
what do you mean when the file doesn't compile? externs only strictly affect renaming? compilation is not affected otherwise?
I mean the externs js file is syntactically broken. anyhow, I figured it out to some degree: running cljs compiler from the command line uses my extern file, but if I run the same config via figwheel.main it doesn't use my externs
which blog post? i'm reading some of them now. 😆
well, you've stated it's a hack so I didn't have big hopes.
I've enabled the extern inference as explained in the doc already. However I can't figure out what's the easiest way to add custom my_namespace_extern.js in the project so that I can specify more detailed hints. I really don't want to create full-blown extern artefact cljsjs style