This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-15
Channels
- # adventofcode (13)
- # aleph (5)
- # announcements (8)
- # beginners (87)
- # calva (9)
- # cider (102)
- # cljs-dev (71)
- # cljsrn (2)
- # clojure (198)
- # clojure-dev (28)
- # clojure-europe (3)
- # clojure-italy (27)
- # clojure-nl (3)
- # clojure-spec (1)
- # clojure-uk (43)
- # clojurescript (121)
- # component (11)
- # cursive (20)
- # data-science (13)
- # datascript (2)
- # datomic (102)
- # dirac (4)
- # duct (5)
- # emacs (14)
- # figwheel-main (7)
- # fulcro (37)
- # hoplon (11)
- # jackdaw (3)
- # jobs (2)
- # leiningen (16)
- # nrepl (2)
- # off-topic (51)
- # pathom (34)
- # pedestal (12)
- # perun (10)
- # portkey (1)
- # re-frame (6)
- # reitit (1)
- # shadow-cljs (21)
- # spacemacs (8)
- # tools-deps (2)
- # vim (2)
@thheller I opened https://github.com/thheller/shadow-cljs/pull/439 earlier today. Happy to discuss it here
no pressure to review it though
@anmonteiro looks straightforward. will merge later. the entire goog loader stuff has changed a lot and doesn't work at all anymore with the new closure-library release. we'll see what else needs changing 😉
oh no
this one is present currently in the old goog release though
we’re on 1.10.516
in all my experiements the only thing that made an actual difference in initial loading time was <link rel="preload" ...>
would that be amenable to advanced compilation?
I didn’t do that because they’re not exported through “exportSymbol”
from where are you calling the functions? from inside code that was :advanced
compiled or from HTML?
I was calling it from the HTML but I won’t need to do it
Random question about externs inference: if there is a (.val ^js snapshot)
in the codebase, does that mean “val” will never be renamed anywhere, or only for things that the compiler thinks might have the same type as snapshot
?
it depends. If Closure can identify the type it can be renamed, if not it won't be. so generally in CLJS code nothing will ever be renamed if the name exists in the externs