This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-15
Channels
- # beginners (138)
- # bigdata (2)
- # boot (45)
- # cljsrn (29)
- # clojure (108)
- # clojure-austin (1)
- # clojure-gamedev (1)
- # clojure-korea (9)
- # clojure-russia (50)
- # clojure-spec (2)
- # clojure-uk (28)
- # clojurescript (40)
- # component (1)
- # cursive (35)
- # datomic (39)
- # dirac (16)
- # emacs (22)
- # flambo (11)
- # funcool (6)
- # hoplon (74)
- # leiningen (4)
- # off-topic (1)
- # om-next (2)
- # onyx (141)
- # planck (7)
- # proton (10)
- # protorepl (4)
- # re-frame (21)
- # reagent (13)
- # remote-jobs (1)
- # ring (3)
- # specter (9)
- # sql (3)
- # test-check (14)
- # untangled (1)
- # vim (9)
- # yada (16)
Has anyone tried to use clojurescript with vuejs? Does the vuejs state/rendering model fit well with clojurescript or work against it?
Is it possible to increase the timeout in a figwheel repl? I’m getting: Eval timed out!
but I also think it is possible to increase the timeout, don't remember the config though
@pupeno Not sure if you mean this, but I once had to put (defproject … :repl-options {:timeout 180000})
in a project.clj
.
@rmoehn I’ll give it a try. Thanks.
Hi, I’d like to put clojurescript project to production with digested file names generated, how can I do that?
@fifigyuri I’m afraid assets bundling is out of the scope of clojurescript compiler. You have to use some other tool to post-process your production build.
^ discuss in #lumo
Hi all, would anyone know of any resources or example projects for making clojurescript libraries for use in javascript? (The one I'm aware of is datascript)
@tom there are a number of CLJS tests in the ClojureScript repository itself: https://github.com/clojure/clojurescript/tree/master/src/test/cljs/cljs
I normally use Doo (https://github.com/bensu/doo) for tooling integration
it this correct way? :
(:import
#?@(:cljs
[[goog.i18n.NumberFormat]
[goog.i18n.NumberFormat.Format]]))
another, related question, as I understand there’s no way to define more than one function inside #?(:cljs
block, right?
Hi everybody !
I'm facing a strange behaviour in ClojureScript. I'm trying to destructure a namespaced map, let's say #:user {:foo "bar"}
. But it appears that this code: (let [{::user/keys [foo]} my-ns-map] …)
works while this one (let [{:user/keys [foo]} my-ns-map]…)
doesn't. Notice the difference between ::user/keys
and :user/keys
. Is there a difference between ::some/ns-kw
and :some/ns-kw
? Documentation and examples seems to only talk about the single-column form as in :user/foo
…
@ggaillard those are namespace qualified https://kotka.de/blog/2010/05/Did_you_know_III.html
@ag Ok I understand now. I thought that :some-ns/some-name
was the right form, but I understand that after a (require '[some.ns :as alias])
the right way to write it is ::alias/some-name
. Thank you ! 🙂
I could have sworn that I had once read that you can pass arguments to the ClojureScript compiler that could be checked at compile time: e.g., a flag indicating whether it is compiling a build for development or a build for release. Now I can't find any documentation about this. Was I remembering incorrectly?
Not sure if I should ask this here or in #emacs, but I want to use cider to connect to a running nREPL server that is started using https://github.com/martinklepsch/tenzing If I cider-connect
to it and run (start-repl)
things work great and I can drive the browser, but cider doesn’t think this is a cljs repl, so I can’t do things like C-c C-k
to eval the cljs file in the repl. Am I going about this the wrong way?