This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-11
Channels
- # beginners (79)
- # boot (21)
- # cider (28)
- # cljs-dev (1)
- # clojure (88)
- # clojure-italy (3)
- # clojure-russia (6)
- # clojurescript (49)
- # community-development (4)
- # cursive (37)
- # datomic (12)
- # editors (3)
- # emacs (33)
- # fulcro (15)
- # hoplon (9)
- # jobs-discuss (3)
- # keechma (3)
- # lein-figwheel (2)
- # luminus (3)
- # off-topic (146)
- # onyx (5)
- # portkey (11)
- # re-frame (34)
- # reagent (7)
- # reitit (5)
- # remote-jobs (1)
- # shadow-cljs (6)
- # unrepl (11)
HEre’s an article on some techniques and libs that might be useful to you https://blog.logrocket.com/building-size-aware-react-components-b4c37e7d96e7
maybe there is a way to get size from :component-did-mount (fn [comp]
function? I am trying to extract the dimensions from here? :thinking_face:
I don’t think that works directly absent using a lib. The react-sizeme lib referenced in the blog post might be the closest thing.
thanks @eoliphant 👍
how could I stop on drag propagation on this element: `[:> ChartCanvas {:type "hybrid" :ref (fn [component] (reset! node component)) :seriesName "Wat" :ratio ratio :width width :height height :data trades :onLoadMore onLoadMore :defaultFocus true :xAccessor x-accessor :displayXAccessor x-accessor :xScale (scaleTime) :pointsPerPxThreshold 100 ;:xExtents [(ffirst data) (first (last data))] }` ?