Hey Eddy!

I think the benefit of nest comes in conjunction with another HOC like withProps, then you can have automatic “pass through” of props to each nested component, without having to write it haha. So maybe I’m lazy!

<A pass="through">
<B pass="through">
<C pass="through">
Child
</C>
</B>
</A>

Software Engineer at Workpop, Inc.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store