This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-30
Channels
- # announcements (5)
- # beginners (90)
- # cider (15)
- # clara (1)
- # clj-kondo (2)
- # cljs-dev (17)
- # clojars (8)
- # clojure (132)
- # clojure-europe (14)
- # clojure-nl (5)
- # clojure-uk (57)
- # clojurescript (39)
- # code-reviews (44)
- # conjure (6)
- # core-async (6)
- # cursive (20)
- # data-science (1)
- # datomic (13)
- # fulcro (11)
- # graalvm (6)
- # graphql (6)
- # helix (10)
- # joker (2)
- # kaocha (37)
- # leiningen (24)
- # malli (15)
- # off-topic (13)
- # pathom (18)
- # pedestal (14)
- # re-frame (67)
- # reitit (5)
- # ring (13)
- # ring-swagger (4)
- # sci (41)
- # shadow-cljs (33)
- # slack-help (5)
- # spacemacs (1)
- # sql (34)
- # tools-deps (64)
- # vim (171)
- # xtdb (3)
Hey team, is there a recommended library / way that I could build a web repl for clojure? (i.e if I wanted to teach folks how to use clojure, and start them off with a repl I could customize)
I see https://github.com/arichiardi/replumb. are there others you'd recommend?
If you’re interested in an out of the box solution for what you’re looking for, Maria is pretty good
Yeah. It has its own pedagogy so you’ll have to see if it matches what you want
there's also klipse http://app.klipse.tech/ but it only allows self-hosted cljs (as far I know)
https://web.archive.org/web/20171224182623/http://tryruby.org/levels/1/challenges/0 ^ i remembered this for ruby -- could be cool to have something like this for clojure!
I've only done a proof of concept to see if I could get storybook and cljs webpack playing nicely together. In case it's of interest, this is the code: https://github.com/olivergeorge/webpack-repros/tree/storybook-vs-reagent
(With luck someone who has more experience can give you better direction)
Can someone please explain me what is the difference between :rename-prefix & rename-prefix-namespace? If I got multiple modules should I use both? If yes, then should the value for both be the same?
@karol.wojcik :rename-prefix
makes all names start with that prefix so fooA
. :rename-prefix-namespace
instead puts everything onto one object, so foo.A
. only use one.
@U05224H0W It seems then that having :rename-prefix-namespace is more beneficial than :rename-prefix when it comes to build size.
@U05224H0W Surprisingly rename-prefix-namespace impacts build size more than rename-prefix. Which should be used?
Hi! I remember reading a medium (or similar) post about clojurescript performance compared to 10+ other javascript frameworks. I cannot find it anymore. Does anyone know what I am talking about?
I remember what you're talking about 🙂
I think the major focus was on reagent outperforming react.js though, but I may be thinking of something else. Articles like this: https://yogthos.net/posts/2017-03-26-ReagentReactView.html
So do we have a #clojurescript specific conference yet? 😄 for the 22 of us that would show up?
Has never been a cljs only conf that I’m aware of
That's because by the time we figured out how to organize one, a new organization framework came out and we had to start over
seriously though I am looking for a way to consolidate the fragmented information/best practices. hmm.
@dnolen ran a cljs masterclass through kitchen table coders http://kitchentablecoders.com/ the site states that "You can also ask us do redo them, and we'll do our best!"
I would absolutely join one of these now if they ran again. especially if they were remote. sounds like a great saturday to me
Hello, is it possible to use memfn in with -varname? e.g. if I want to extract multiple properties from an object ((juxt (memfn -a) (memfn -b)) obj) ? Doesn't seem to work, is there a short better alternative?
I think #(.-a %)
and #(.-b %)
are the go to, though you could just combine into (fn [o] [(.-a o) (.-b o)])
see also goog.object if the class might be advance-compiled
@noisesmith your first proposal doesn't work if I am already in a #() context, thus I will stick to the last one, thanks
@hannes948 the translation between the two is pretty simple, and can be exposed with '
user=> '#(.-a %)
(fn* [p1__1282#] (.-a p1__1282#))
that works with any reader macro - '
doesn't prevent read expansion, but it does prevent evaluation
so you get the expanded unevaluated form