Fork me on GitHub
#reagent
<
2019-05-21
>
dazld10:05:08

Hi everyone! I’m having a hard time trying to find something in the docs - what’s the signature of the invocation of :component-will-receive-props? first arg is this/current-component, but the second arg appears to be a vector of [#object[Function] {...props...}], is that documented somewhere? what’s the best way to handle this?

dazld10:05:53

there’s something on stackoverflow about using a reagent.impl.util/extract-props function, but wondering if that’s the right approach