Fork me on GitHub
#cljsrn
<
2016-05-27
>
debug03:05:10

@pesterhazy: Thanks! That was very informative!

debug03:05:34

Also, what would be a more cleaner way to write

(.cloneWithRows (datasource. (js-obj "rowHasChanged" #(not= %1 %2)))
such form?

pesterhazy09:05:15

#js {:rowHasChanged not=}

debug09:05:22

I like that 😁

debug09:05:34

Passing not= that way will work without specifying the how the parameters are placed?

pesterhazy09:05:48

not= already is a function that takes two parameters, no need to wrap it in an anon fn

stepugnetti10:05:11

Is anyone using nested Navigator components with reagent? My inner Navigator gets rendered very badly...

pesterhazy10:05:59

didn't know that you could nest navigators

vikeri14:05:32

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.

savelichalex14:05:06

@vikeri: yeah, I’m using r/create-class

vikeri14:05:55

@savelichalex: Ok, and which keyword do you use? I’ve seen a couple float around...

savelichalex14:05:40

exactly as you wrote above and it work well)

vikeri14:05:15

Weird, and you pass a boolean at the end to determine if it should be rendered or not?

savelichalex18:05:11

@vikeri: are you use :reagent-render?

vikeri19:05:44

@savelichalex: yes, the rendering part works well. It's suppressing a rerender that doesn't work

savelichalex20:05:06

@vikeri: show your code please)