This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-13
Channels
- # aleph (3)
- # announcements (2)
- # aws (48)
- # babashka (93)
- # beginners (101)
- # bristol-clojurians (1)
- # cider (3)
- # clj-kondo (17)
- # cljdoc (1)
- # cljsrn (3)
- # clojure (208)
- # clojure-dev (2)
- # clojure-europe (19)
- # clojure-italy (18)
- # clojure-losangeles (16)
- # clojure-nl (8)
- # clojure-spec (21)
- # clojure-sweden (8)
- # clojure-uk (57)
- # clojuredesign-podcast (6)
- # clojurescript (10)
- # code-reviews (6)
- # core-typed (1)
- # cryogen (7)
- # cursive (38)
- # datomic (34)
- # duct (13)
- # emacs (13)
- # fulcro (16)
- # funcool (2)
- # graalvm (1)
- # lambdaisland (5)
- # luminus (8)
- # lumo (1)
- # malli (2)
- # off-topic (12)
- # pathom (9)
- # re-frame (13)
- # reagent (11)
- # ring (3)
- # shadow-cljs (15)
- # sql (19)
- # tools-deps (61)
- # xtdb (23)
Is it possible to connect multiple clients to the nREPL server and “broadcast” REPL commands to all connected clients?
https://github.com/clojure/tools.nrepl/wiki/Extensions check concerto. no idea if up to date and maintained
👋:skin-tone-2: Does shadow not support importing node packages like ["@elastic/eui" :as eui]
?
> sometimes people mistakenly think that `(:require ["foo/bar" :as x])` is something `shadow-cljs` specific when it is absolutely not
Oh. Wow. I think I just got some gray hair trying to understand what's going on. I have a project reagent-playground
with a bunch of sources:
;; a.cljs
(ns reagent-playground.a
(:require [reagent-playground.b :refer [f] :rename {f b-f}]))
(defn f [])
(js/console.log "A F" f)
;; b.cljs
(ns reagent-playground.b)
(defn f [])
;; core.cljs
(ns reagent-playground.core
(:require [reagent-playground.a :as a]))
(js/console.log "A F2" a/f)
The JS console output is:
a.cljs:6 A F fnreagent-playground$a$f[]
core.cljs:5 A F2 undefined
So a/f
works inside a
, but outside suddenly becomes undefined
. It can be fixed by not requiring that b
namespace along with :rename
.