This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-18
Channels
- # aws (1)
- # aws-lambda (1)
- # beginners (48)
- # boot (15)
- # cider (3)
- # cljs-dev (4)
- # cljsrn (4)
- # clojure (241)
- # clojure-chicago (1)
- # clojure-dusseldorf (12)
- # clojure-greece (41)
- # clojure-italy (3)
- # clojure-russia (16)
- # clojure-spec (7)
- # clojure-uk (34)
- # clojurescript (88)
- # community-development (9)
- # cursive (8)
- # data-science (55)
- # datomic (40)
- # devops (1)
- # emacs (20)
- # fulcro (19)
- # graphql (3)
- # hoplon (46)
- # luminus (11)
- # lumo (4)
- # off-topic (27)
- # onyx (26)
- # other-languages (25)
- # pedestal (2)
- # powderkeg (6)
- # re-frame (11)
- # reagent (4)
- # ring-swagger (17)
- # rum (4)
- # shadow-cljs (103)
- # spacemacs (14)
- # specter (6)
- # unrepl (21)
- # yada (1)
just published [email protected]
, wasnāt sure if I published the externs inference fix from yesterday already
alrighty. Is there a way watch
a :release? Iām trying to debug keybindings stuff in a windows virtual machine. loading the page across this weird not-really-a-network-boundary is incredibly slow, 2.41 minutes to load the page with 700 requests. it would be faster to advance or simple compile and then have a much smaller bundle
@jiyinyiyong thats based on the clojurescript version you are using. shadow-cljs always uses the latest while other tools might use older versions. uri?
was added recently.
@jiyinyiyong curious what made you report that error to cljs-ajax?
am encountering a bug where sometimes my Keypress fork (which is referenced as a github commit hash) is being overwritten by the one from npm
there is that conflict where it thinks it has a conflict, but actually the versions are the same
i had a watch
run, all good, correct files. when i made a release, the wrong version overwrote it
I added a fix this morning that does not attempt to install anything thats already listen in package.json
the time when this happened was actually the first build after i had run yarn upgrade shadow-cljs
[:deps-version-conflict "github:braintripping/Keypress#1442b0a" "braintripping/Keypress#1442b0a" #object[java.net.URL 0x5f9b22c1 "jar:file:/Users/zilence/.m2/repository/lark/tools/0.1.14/tools-0.1.14.jar!/deps.cljs"]]
well i was using yarn, but since cljs is always using npm, i think i should be consistent
[zilence@zpro ~/.m2/repository/lark/tools/0.1.14]$ cat deps.cljs
{:npm-deps {"keypress.js" "braintripping/Keypress#1442b0a"
"codemirror" "^5.30.0"}
:externs ["externs/lark.commands.ext.js"]}
its just complaining about it because the version in package.json
is different from the one in deps.cljs
in any case, Iāve changed this to a scoped npm dep, so it cannot ever default to fetching something from npm
so right now you can run dev.maria.cloud and www.maria.cloud and compare shadow vs. old build
the shadow build is a bit smaller and loads slightly faster on my machine, despite being many x more files (so i guess http2 is working!)
while actually editing, the dev version is much faster but thats because i fixed some perf bugs
how come https://dev.maria.cloud/ already does all the init stuff?
1st time :release is about 1 minute, subsequents ~12sec, that is all 3 builds. that is __way____ faster than before.
live reloading works better than before, that is also because my cljs-live
goog.require
hacks did not play well with figwheel
https://github.com/braintripping/re-view/blob/master/re_view/src/re_view/render_loop.cljs#L73
just checking the render profile and it seems like re_view.render_loop.render_loop
is actually called more than once per rAf
@thheller oh, thanks, it appears Iāve made that ^boolean
mistake a number of times in other code bases too
#{module$node_modules$object_assign$index
module$node_modules$react$cjs$react_development shadow.js
module$node_modules$fbjs$lib$invariant
module$node_modules$fbjs$lib$emptyObject
module$node_modules$prop_types$lib$ReactPropTypesSecret
module$node_modules$fbjs$lib$emptyFunction
module$node_modules$prop_types$checkPropTypes
module$node_modules$fbjs$lib$warning}
#{module$node_modules$object_assign$index
module$node_modules$react$cjs$react_production_min shadow.js
module$node_modules$fbjs$lib$invariant
module$node_modules$fbjs$lib$emptyObject
module$node_modules$fbjs$lib$emptyFunction}
should make packages a bit smaller and doesnāt require the custom react
:resolve
anymore
@mhuebert [email protected]
should speed up your builds considerably since babel
transformed files are now properly cached