This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-14
Channels
- # beginners (4)
- # boot (2)
- # cider (17)
- # clara (8)
- # cljs-dev (5)
- # clojure (16)
- # clojure-italy (14)
- # clojure-nl (1)
- # clojure-norway (1)
- # clojure-russia (1)
- # clojure-uk (4)
- # clojurescript (8)
- # data-science (19)
- # datomic (4)
- # ethereum (1)
- # events (1)
- # fulcro (15)
- # graphql (4)
- # hoplon (10)
- # jobs (1)
- # mount (1)
- # off-topic (15)
- # parinfer (4)
- # perun (1)
- # portkey (6)
- # re-frame (15)
- # reagent (10)
- # schema (1)
- # shadow-cljs (80)
- # specter (4)
- # test-check (35)
https://github.com/thheller/shadow-cljs/wiki/ClojureScript-for-the-browser#module-loader there is some old stuff but nothing has changed so still applies
being a user, I just feel that, maybe I don't need those features, but when I need, I do hope they are there. switching to other languages can be hard choices
but often things are really not relevant to the user, just to someone interested in the compiler stuff
IMHO the JS integration is much more reliable in shadow-cljs, I even started some work yesterday to almost completely remove the need for :externs
but anyways .. its a bit too early, needs some tuning. first steps are promising though
it is much more important that users have a good experience and don’t run into as many :advanced
issues
Uglify was not good years back, when Closure Compiler was good. but people chose Uglify..
mhuerbert did a comparison yesterday in his app which went from 601kb
with manual externs to 603kb
with generated externs
# untyped externs will be generated by this file
# the filename must match the <id-of-build>.txt
# properties are just listed one per line
propertyA
propertyB
# globals are prefixed by global:
global:someGlobal
on a little vacation this weekend so not much keyboard time. re externs from a txt file: i think externs are more likely to be re-used on a per-library basis, vs. per-build. if i get the externs working for some JS lib once, i may want to re-use in other projects/builds.
nice post about bootstrap. i also want to do some writing yet about how useful this is for projects like maria