This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-20
Channels
- # announcements (10)
- # architecture (7)
- # babashka (49)
- # beginners (125)
- # calva (2)
- # chlorine-clover (33)
- # clj-kondo (15)
- # cljs-dev (18)
- # cljsrn (28)
- # clojure (91)
- # clojure-argentina (37)
- # clojure-austin (4)
- # clojure-dusseldorf (1)
- # clojure-europe (3)
- # clojure-france (2)
- # clojure-germany (2)
- # clojure-nl (4)
- # clojure-portugal (4)
- # clojure-spec (26)
- # clojure-uk (19)
- # clojuredesign-podcast (5)
- # clojurescript (19)
- # conjure (20)
- # core-async (4)
- # cursive (60)
- # data-science (4)
- # datomic (1)
- # duct (9)
- # emacs (11)
- # events (1)
- # fulcro (9)
- # graalvm (17)
- # jobs-discuss (7)
- # luminus (19)
- # malli (36)
- # meander (2)
- # off-topic (23)
- # pathom (2)
- # quil (1)
- # rdf (4)
- # re-frame (16)
- # reitit (10)
- # ring (21)
- # ring-swagger (1)
- # shadow-cljs (137)
- # spacemacs (10)
- # sql (27)
> Symbol Support 🎉
I'm checking the fact at Output size minimized for trivial "Hello World" programs
and I see that some releases of cljs has a output way larger then other ones. I will try to write a script and build a matrix .
(manual result in first response on this thread. Do not use this thread!)
$ cat src/foo/bar.cljs
(ns foo.bar)
(.log js/console "ok")
# build: clj -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version "1.10.439"}}}}' -m cljs.main --optimizations advanced --output-to 1.10.439.js -c foo.bar
# du -h master.js 1.10.597.js 1.10.520.js 1.10.439.js 1.10.63.js
4,0K master.js
96K 1.10.597.js
8,0K 1.10.520.js
8,0K 1.10.439.js
92K 1.10.63.js
it's just a test for artificially trivial programs - a very small number of users would rely on this aspect of DCE
@mfikes thanks! I might edit that to add some more rationale for the removals of the REPLs and a path for alternatives (and relevant new changes to make that easier)
@alexmiller does Clojure clone the array passed to seq
? https://clojure.atlassian.net/browse/CLJS-3231
Hi, I'm pretty thrilled by krell (https://github.com/vouch-opensource/krell). Looks very minimal which I like. But I have some difficulties requiring installed node modules. For example: I try to (require '@react-navigation/bottom-tabs)
(also without the @) but to no avail. The doc reads "Because Krell uses the ClojureScript compiler to index node_modules, you can idiomatically require anything you've installed via yarn or npm just like any ClojureScript library." but I cannot make it work. Any help would be great. Completion on the REPL with (require ' + TAB shows many things but not the node module. Am I missing something? #noob
however we changed ClojureScript a while back to support strings for the library name not just symbols
(ns foo.core (:require ["@react-navigation/bottom-tabs" :as rn-bottom-tabs]))
or something like that