This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-18
Channels
- # beginners (123)
- # boot (3)
- # cider (6)
- # clara (1)
- # cljs-dev (139)
- # cljsrn (9)
- # clojure (59)
- # clojure-italy (5)
- # clojure-uk (41)
- # clojured (10)
- # clojurescript (67)
- # community-development (1)
- # component (2)
- # core-async (7)
- # cursive (4)
- # datomic (4)
- # defnpodcast (2)
- # fulcro (23)
- # graphql (1)
- # jobs (2)
- # leiningen (4)
- # off-topic (32)
- # portkey (7)
- # protorepl (5)
- # re-frame (19)
- # reagent (5)
- # reitit (23)
- # shadow-cljs (29)
- # slack-help (1)
- # spacemacs (1)
- # tools-deps (21)
- # unrepl (18)
@cgrand couldn't see anything in the wiki particularly 🙂 Got a write up anywhere on it?
@dominicm the idea would have to have a single repl but use reader conditional to select if you sending code to clojure or to clojurescript.
My initial idea would mean that unconditional code would get evaluated twice. Which is not very practical. @bhauman thinks that abusing a top reader conditional would be ok. So uncond -> cljs, cond -> dispatch
I wonder if there's ever a case for having multiple cljs repls? e.g. if you have multiple cljs clients in one jvm.
I'm wondering if it should actually be #?(:figwheel/build-id (js/alert "hi"))
and the dispatch happens on (or (namespace k) (name k))
Oh, but that pushes management onto client. So it's better to be agnostic in some way. Yeah, this gets complicated fast.
don't be silly. you can't do that. clojure.lang.RT wouldn't let you! I have literally 0 context for how that would work right now tbh - because I never see it.