This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-04
Channels
- # announcements (2)
- # babashka (7)
- # beginners (168)
- # boot (8)
- # cider (10)
- # clara (1)
- # clj-kondo (19)
- # cljdoc (8)
- # cljs-dev (16)
- # clojars (1)
- # clojure (208)
- # clojure-europe (10)
- # clojure-germany (1)
- # clojure-losangeles (1)
- # clojure-uk (56)
- # clojurescript (63)
- # conjure (23)
- # core-typed (2)
- # cursive (5)
- # data-science (1)
- # datomic (35)
- # emacs (1)
- # exercism (58)
- # graalvm (2)
- # graphql (1)
- # jobs (3)
- # kaocha (1)
- # lambdaisland (2)
- # malli (19)
- # meander (5)
- # off-topic (2)
- # pathom (25)
- # pedestal (3)
- # reagent (53)
- # reitit (4)
- # remote-jobs (2)
- # shadow-cljs (26)
- # spacemacs (3)
- # sql (22)
- # tools-deps (17)
TIL: > [cljs.core.async.interop :refer-macros [<p!]] š https://clojurescript.org/guides/promise-interop#using-promises-with-core-async
Is is possible to use spyscope with CLJS? I am getting this,
The required namespace "spyscope.core" is not available, it was required by "com/github/hindol/twenty_nine.cljs".
"spyscope/core.clj" was found on the classpath. Maybe this library only supports CLJ?
Using shadow-cljs with deps.edn.I don't think that'll work - the project is lein-based, so AFAIK you can't use its git coordinate in deps.edn
.
Of course, that should not go into your project's deps.edn
. Maybe in ~/.clojure/deps.edn
.
> so no matter what it won't work
Well, it works if you embed shadow-cljs and call alter-var-root
on tags/*cljs-data-readers*
. :)
In absence of reader literals, what trace library do you suggest for CLJS? (doto _ prn)
is too intrusive.
There are no examples here: https://clojuredocs.org/clojure.core/tap%3E
Does anyone know how heavy a self-hosted clojurescript instance is? I was wondered about making a CodeSandbox or JSBin for CLJS
baseline is about 5mb+ I'd guess, probably more around 8mb+ if you include some actual code besides cljs.core
Hmm. If you were to build something like this, would you include a server element then?
no clue, haven't thought about building something like that. with compression its really not that bad.
I think there's a pretty good "getting started" example for getting a self-hosting environment running? it wouldn't have a nice API, but it should be possible to get a REPL you can send strings to from the devtools.
oh klipse app is live again! That's good. It was down for a few days(at least), very recently
Iām glad thatās there, but itās not as full fledged as something like http://CodeSandbox.io is, which is more of what Iām looking for
to import libraries would be very difficult. but it would be very useful even without that
Indeed. I didnāt really think about dependencies partā¦certainly would be helpful when demonstrating 3rd party code
Gosh, how do http://codesandbox.io and the like do that? Did they create their own package manager?
I think glitch uses containers, they've built their own orchestrator to manage them, it's insane!
Can http://glitch.com or similar do cljs?
I think that codesandbox has a thing called ācontainersā, which does have a backend portion, but I think the normal html/css/js is all frontend
they have a blog post about how it works: https://codesandbox.io/post/how-we-make-npm-packages-work-in-the-browser
Yeah, hmm. I mean, you could conceivable just keep a running container for every open session, and do all the compilation and dependencies with CLJS on the backend
but if youāre going to compile the code on the server anyway, skip the self hosting bit š
Self-hosting would be great for something simple without dependencies, but for a full-fledged thing like http://CodeSandbox.io Iād probably deploy containers
Is it possible to get the vim.fireplace plugin to work with clojurescript as well as clojure?
Nvm got it to work