This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-27
Channels
- # admin-announcements (1)
- # beginners (1)
- # boot (37)
- # cbus (1)
- # cider (44)
- # cljs-dev (16)
- # cljsjs (2)
- # cljsrn (18)
- # clojure (205)
- # clojure-belgium (6)
- # clojure-china (1)
- # clojure-india (1)
- # clojure-russia (24)
- # clojure-spec (21)
- # clojure-turkiye (1)
- # clojure-uk (72)
- # clojurescript (91)
- # core-async (4)
- # cursive (12)
- # data-science (2)
- # datascript (2)
- # datomic (12)
- # emacs (6)
- # flambo (7)
- # funcool (12)
- # hoplon (24)
- # incanter (2)
- # jobs-discuss (29)
- # keechma (2)
- # lein-figwheel (2)
- # leiningen (2)
- # mount (13)
- # nyc (2)
- # om (76)
- # om-next (1)
- # onyx (38)
- # other-languages (4)
- # planck (40)
- # re-frame (33)
- # reagent (101)
- # ring-swagger (5)
- # slack-help (1)
- # untangled (7)
- # yada (14)
@pesterhazy: Thanks! That was very informative!
Also, what would be a more cleaner way to write
(.cloneWithRows (datasource. (js-obj "rowHasChanged" #(not= %1 %2)))
such form?#js {:rowHasChanged not=}
not=
already is a function that takes two parameters, no need to wrap it in an anon fn
Is anyone using nested Navigator components with reagent? My inner Navigator gets rendered very badly...
didn't know that you could nest navigators
Has anyone succeeded in implementing :should-component-update
, is that the right syntax? I’ve followed: https://github.com/Day8/re-frame/wiki/Creating-Reagent-Components#form-3-a-class-with-life-cycle-methods but with no luck, other lc methods like :component-will-update
works though.
@vikeri: yeah, I’m using r/create-class
@savelichalex: Ok, and which keyword do you use? I’ve seen a couple float around...
exactly as you wrote above and it work well)
Weird, and you pass a boolean at the end to determine if it should be rendered or not?
@pesterhazy: Apparently yes, you can. But it turned out to be tricky, for me: https://github.com/facebook/react-native/issues/1298#issuecomment-222160550
@vikeri: are you use :reagent-render
?
@savelichalex: yes, the rendering part works well. It's suppressing a rerender that doesn't work
@vikeri: show your code please)