This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-08
Channels
- # adventofcode (240)
- # beginners (87)
- # boot (4)
- # cider (27)
- # cljs-dev (20)
- # cljsrn (24)
- # clojure (365)
- # clojure-argentina (1)
- # clojure-brasil (4)
- # clojure-dev (12)
- # clojure-greece (65)
- # clojure-india (1)
- # clojure-italy (15)
- # clojure-japan (1)
- # clojure-losangeles (1)
- # clojure-madison (4)
- # clojure-poland (3)
- # clojure-russia (5)
- # clojure-spec (3)
- # clojure-uk (105)
- # clojurescript (27)
- # core-async (1)
- # core-logic (3)
- # cursive (61)
- # datomic (68)
- # devcards (4)
- # docs (27)
- # duct (67)
- # emacs (15)
- # events (1)
- # fulcro (8)
- # graphql (50)
- # lein-figwheel (1)
- # lumo (15)
- # numerical-computing (1)
- # off-topic (77)
- # om (3)
- # onyx (5)
- # parinfer (3)
- # planck (2)
- # portkey (5)
- # re-frame (4)
- # reagent (16)
- # ring (14)
- # rum (3)
- # shadow-cljs (17)
- # vim (1)
@thheller not yet... but I noticed WebAssembly is supported by browsers a lot faster than I expected.
All browsers(except for IE...) now supports WebAssembly, Rust has merged support for WebAssembly backend.
I don't use WebAssembly yet. But if its DOM APIs integration is ready, things may change. I heard that would happen in less a year.
I'm trying to make shadow-cljs work with cider ... keep having trouble getting it to switch to a clojurescript repl. Any pointers?
user-error: ‘cider-eval-last-sexp’ needs a ClojureScript REPL.
If you don’t know what that means, you probably need to jack-in (‘C-c M-J’).
this is after trying both (shadow.cljs.devtools.api/nrepl-select :plugin)
and (cemerick.piggieback/cljs-repl :plugin)
. I have shadow-cljs watch plugin
and shadow-cljs node-nrepl
in the background
@hagmonk I don’t know anything about cider setup but @mitchelkuijpers got it working
@hagmonk I start shadow-cljs inside of my clojure process
Would that be an option for you? Then I can help you
=>> yarn watch
yarn run v1.3.2
$ shadow-cljs watch browser
shadow-cljs - config: /Users/chen/repo/mvc-works/mvc-works.org/shadow-cljs.edn version: 2.0.115
shadow-cljs - updating dependencies
Retrieving thheller/shadow-cljs/2.0.115/shadow-cljs-2.0.115.pom from
Retrieving thheller/shadow-client/1.3.0/shadow-client-1.3.0.pom from
Retrieving thheller/shadow-cljs/2.0.115/shadow-cljs-2.0.115.jar from
Retrieving thheller/shadow-client/1.3.0/shadow-client-1.3.0.jar from
^C
=>> time yarn watch
yarn run v1.3.2
$ shadow-cljs watch browser
shadow-cljs - config: /Users/chen/repo/mvc-works/mvc-works.org/shadow-cljs.edn version: 2.0.115
shadow-cljs - updating dependencies
Retrieving thheller/shadow-cljs/2.0.115/shadow-cljs-2.0.115.jar from
^C
real 1m3.436s
user 0m0.433s
sys 0m0.083s
thanks @thheller and @mitchelkuijpers, but I hit a different problem that seems harder than the REPL for now 🙂
basically I'm trying to convert this to clojurescript, i.e. write a grafana datasource plugin in clojurescript: https://github.com/grafana/simple-json-datasource/
shadow-cljs seems perfect because it really cuts away a lot of the ceremony about building cljs projects!