Abhi Aiyer
1 min readMay 28, 2017

--

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>

--

--

Abhi Aiyer
Abhi Aiyer

Written by Abhi Aiyer

Software Engineer at Netlify, Inc.

Responses (1)