This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-01
Channels
- # beginners (2)
- # boot (1)
- # cljs-dev (126)
- # cljsrn (4)
- # clojars (1)
- # clojure (109)
- # clojure-austin (5)
- # clojure-austria (1)
- # clojure-boston (2)
- # clojure-brasil (33)
- # clojure-canada (1)
- # clojure-russia (1)
- # clojure-spec (62)
- # clojurescript (23)
- # core-async (1)
- # cursive (33)
- # datomic (26)
- # ethereum (2)
- # hoplon (7)
- # jobs (1)
- # lein-figwheel (1)
- # luminus (12)
- # off-topic (4)
- # om (3)
- # om-next (49)
- # perun (2)
- # protorepl (2)
- # specter (6)
- # test-check (1)
- # untangled (2)
- # vim (6)
- # yada (30)
@kenny :here is how I do it: https://github.com/binaryage/cljs-devtools/blob/a6b5c60774f72d3465dfa80d0fe02f2b56cac5ec/src/lib/devtools/formatters/markup.cljs#L439-L452 https://github.com/binaryage/cljs-devtools/blob/a6b5c60774f72d3465dfa80d0fe02f2b56cac5ec/src/lib/devtools/formatters/markup.clj#L10
Is it normal for app.js to have a size of 1.9MB after advanced optimization in project.clj. I am not sure, need help to resolve this. I have used lein uberjar with the default settings of luminus web template
Here is the snapshot of project.clj
You could call it from within the html file and call it in cljs with js/fn-name. If you want full power of code reduction and optimization you would create an extern. Many articles you can find on that.
any tips on dealing with the on-change event while editing it. but then having it convert to a number once entered? Seems my best options so far is bind to text on change, and then convert to number on blur
@rnandan273 measure the gzipped size - that’s the only thing that matters.
@turbopape extend
simply doesn’t exist
@turbopape I’m not aware of anything