This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-29
Channels
- # aws (6)
- # beginners (33)
- # bitcoin (2)
- # boot (22)
- # carry (2)
- # cider (5)
- # clara (21)
- # cljs-dev (115)
- # cljsrn (40)
- # clojure (161)
- # clojure-dev (73)
- # clojure-italy (38)
- # clojure-russia (88)
- # clojure-spec (123)
- # clojure-uk (58)
- # clojurescript (88)
- # core-async (26)
- # cursive (5)
- # datascript (18)
- # datomic (26)
- # hoplon (50)
- # java (2)
- # jobs (1)
- # leiningen (10)
- # lumo (1)
- # off-topic (18)
- # om (9)
- # onyx (26)
- # parinfer (13)
- # pedestal (41)
- # quil (1)
- # re-frame (27)
- # reagent (21)
- # ring-swagger (11)
- # slack-help (3)
- # spacemacs (8)
- # specter (5)
- # sql (42)
- # timbre (1)
- # uncomplicate (7)
- # untangled (3)
- # videos (1)
- # yada (26)
@pesterhazy Nope, just unsure how it all works. Usually with traditional following construction i initialized all data/events in first let
and then in second let
- everything that uses changing component props. Can/should i make such split using with-let
?
(defn component [...]
(let [...]
(fn [...]
(let [...]))))
anyone notice reagent
with the new cljs version “1.9.660” has a warning
WARNING: Protocol IFn implements method -invoke with variadic signature (&) at line 61 resources/public/js/compiled/dev/reagent/impl/util.cljs
@mikerod fortunately the warning is harmless, it should work despite the warning
still a good idea to update reagent, but not a necessity
FYI I had a longer question related to doing the reagent
upgrade that came up. So long that I just put it in the mailing list https://groups.google.com/forum/#!topic/reagent-project/Q_HaJwWVFBY
@mikerod I wrote reply there
@juhoteperi Thank you. That is extremely helpful and insightful!
> "closed" dependency = closer dependency, if several versions of same package are required, maven will select the one with shortest path: Dependency meditation: https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
hah, opened a source and immediately found https://github.com/reagent-project/reagent/blob/master/src/reagent/core.cljs#L20
label here - http://recharts.org/#/en-US/api/Pie code example - http://recharts.org/#/en-US/examples/PieChartWithCustomizedLabel
@edbond often r/as-element
is more convenient
What is the correct combination of deps for project.clj for the latest Reagent and React? I've tried bumping them to:
[reagent "0.7.0" :exclusions [cljsjs/react]]
[cljsjs/react "15.6.1-0"]
and get these warnings:
Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see
Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see