This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-04
Channels
- # aws (1)
- # beginners (163)
- # boot (1)
- # bristol-clojurians (1)
- # cider (7)
- # clara (1)
- # cljs-dev (22)
- # cljsjs (1)
- # clojure (43)
- # clojure-denver (1)
- # clojure-finland (6)
- # clojure-italy (1)
- # clojure-nl (3)
- # clojure-russia (1)
- # clojure-spec (1)
- # clojure-uk (6)
- # clojurescript (107)
- # cursive (4)
- # data-science (2)
- # datascript (2)
- # datomic (19)
- # duct (31)
- # emacs (1)
- # fulcro (50)
- # graphql (15)
- # hoplon (3)
- # lein-figwheel (2)
- # luminus (21)
- # off-topic (74)
- # onyx (3)
- # parinfer (15)
- # portkey (2)
- # precept (9)
- # proton (1)
- # re-frame (130)
- # reagent (73)
- # reitit (7)
- # ring-swagger (5)
- # shadow-cljs (61)
- # spacemacs (18)
- # specter (12)
- # uncomplicate (1)
- # vim (88)
- # yada (2)
Revisiting an older question: Is this program valid?
(let [a (into-array [0 1])] (aset a 2 2) a)
@dnolen Cool. My reason for asking is that :checked-arrays
catches it (which is sufficient). This pattern is used in Reagent, thus raising the question as to whether it is even viewed as a correct program.
Nice, latest Closure-compiler seems to fix problems I had with some react-dom/server objects being removed. Preparing patch.
Hello. Speaking of Google Closure Compiler and ReactJS, is it possible that on :advanced
this line would be optimized away https://github.com/facebook/react/blob/master/packages/react/src/ReactBaseClasses.js#L26?
@andrewboltachev Possible. But I think unlikely. Why do you think it would be optimized away?
@juhoteperi In my case I have an instance of a component (`AnimateHeight`) which's prototype
.`proto__ (explored in a devtools) has
isReactComponent` property in Figwheel but not it production version of generated JS bundle
by "instance" I mean that it's a result of createElement
Did you try running with :pseudo-names true
? isReactComponent
is not mentioned in externs so it will be renamed.
@juhoteperi yes I'm running with :pseudo-names true
@juhoteperi btw what I see that it's rather eliminated, not renamed
@andrewboltachev Did you try with new Closure-compiler as I mentioned on other channel?
@juhoteperi well sorry, it's a great mystery for where does the Closure compiler come from. I.e. how do I change it?
Just add this dependency to your project, after cljs: [com.google.javascript/closure-compiler-unshaded "v20180319"]
will try in a sec, thanks
seems the same...
And this problem only exists with React Animate Height?
Not sure. Would possibly try other modules in a test environment/project