Skip to content

More advanced Reagent techniques

Mike Thompson edited this page Feb 12, 2018 · 24 revisions

Of Interest:

Small FAQs:

1. How do I get props in component-will-receive-props

Question

So :component-will-receive-props is a function with this signature (fn [this new-argv]) How do I get new props from new-argv parameter. It’s a function.

Answer

reagent.impl.util/extract-props