This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-13
Channels
- # adventofcode (35)
- # announcements (2)
- # arachne (1)
- # beginners (71)
- # chestnut (2)
- # cider (100)
- # cljdoc (17)
- # cljs-dev (17)
- # cljsjs (2)
- # cljsrn (2)
- # clojure (53)
- # clojure-austin (2)
- # clojure-europe (1)
- # clojure-finland (2)
- # clojure-italy (3)
- # clojure-nl (7)
- # clojure-russia (56)
- # clojure-spec (56)
- # clojure-uk (35)
- # clojurescript (58)
- # community-development (14)
- # core-async (9)
- # cursive (22)
- # data-science (5)
- # datomic (14)
- # duct (5)
- # emacs (2)
- # expound (4)
- # figwheel-main (6)
- # fulcro (23)
- # kaocha (8)
- # lumo (7)
- # off-topic (10)
- # pathom (6)
- # re-frame (17)
- # reitit (31)
- # ring (3)
- # rum (1)
- # shadow-cljs (45)
- # spacemacs (10)
- # sql (12)
- # testing (9)
- # tools-deps (130)
Never mind! Two decent solutions came to mind. If anything better comes to yours Iโm all ears ๐
Does anyone have a github template to cljs development with CIDER and lein that works? I have tried "lein re-frame +cider" and "lein chesnut", but connecting CIDER to the cljs REPL doesn't seem to work or the config from the default templates is missing part of the recipe.
From the view.cljs file, I issue "cider-jack-in-cljs". I get the following error: "error in process filter: No ClojureScript REPL type (do (require 'figwheel-sidecar.repl-api) ..."
ok. and can you tell me your lein versions and CIDER versions? (`lein --version` && m-x cider-version
respectively)
I don't have dependencies for nrepl. Would binaryage figwheel or piggieback depend on it?
i can check out lein re-frame +cider
when i get home though and give you specific help in #cider
Great. I will be around. Your pointers move the problem forward. I am getting a new error: "Figwheel CLJS REPL: nREPL connection found but unable to load piggieback."
and figure out the exact incantation for
:repl-options {
:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}
"figwheel-main" appears not available. I tried with "figwheel" again, no error but not repl either. The status-bar show (pending-cljs)
Compilation works, but I cannot get cider to eval s-exp with c-x c-e. The buffer does not appear associated to the cljs-repl session.
If you have time, I will appreciate your help getting lein re-frame working with cider and figwheel-main.
I think I saw something recently that self hosted ClojureScript is not available when using advanced
optimization. True??
Yep, thatโs true
something like this: https://changelog.com/posts/rich-hickeys-greatest-hits
I've noticed that some of my tap>
s get dropped. haven't been able to minimally reproduce it, but it is consistent in some cases. any ideas why that might be happening?
e.g. in a reagent component I have:
(tap> member)
(tap> app-data)
the first one goes through, the second one is droppedwhat does your tap-fn do? when using core.async channels you might be running into buffer limits for example
@domparry Not sure, but here is a list of transcribed talks by David Nolen: https://github.com/matthiasn/talk-transcripts/tree/master/Nolen_David
Does anyone have a working example of how to integrate draft.js with reagent? I sort of got it working, but clicking on a bold button, I am struggling to pass back control to the Editor component while maintaining the selection.
@thheller that might be it. I'm put!
ing the value on a core.async channel that eventually sends a message over a websocket
try to use (when-not (async/offer! the-chan value) (js/console.log "failed to put val" value))
yep ๐ usually making the buffer bigger is step 1 and you fix that once you run out of memory ๐
Hi! Is a way to work with the latest version of Google Closure Library in ClojureScript ? The version that is shipped with cljs is two years old ๐
I asked in #cljs-dev but it may be best to open a proper Jira issue https://dev.clojure.org/jira/browse/CLJS
@florent.pastor Are you using the latest ClojureScript? This change was from June 2018 https://github.com/clojure/clojurescript/commit/23d97da89232da99a5d42cf6637b70319a01949d
But, isnโt the library in this package ? [org.clojure/google-closure-library "0.0-20170809-b9c14c6b"]