Fork me on GitHub
#reagent
<
2021-04-08
>
andre04:04:07

(let [old-argv (.. c -props -argv)
                         new-argv (.-argv nextprops)
                         noargv (or (nil? old-argv) (nil? new-argv))]
                     (cond
                       (nil? f) (or noargv (try (not= old-argv new-argv)

andre04:04:28

this is part of

:shouldComponentUpdate

andre04:04:00

but first element in argv is components, so noargv will never happen

andre04:04:30

does it make sense to compare same components each time for components without parameters ?

andre05:04:03

anyway its pretty fast i guess