Barry Michael Doyle
Sep 8, 2018 · 1 min read

Thanks for that thoughtful response :) I like it!

That’s another good solution to the problem of complicated renders. I wouldn’t say this is a bad approach, as long as you use this approach consistently throughout your app.

I could argue that it’s easier to see the bigger picture in the main component using option 2 over your proposed solution. But again, if you’re consistent in which approach you take, it will be easier for other developers (and yourself 2 days from now) to understand what going on in a quick glance.

Didn’t think about that option, so I might update the post to have an option 3 :D I’ll give you a shout out you if I do!

    Barry Michael Doyle

    Written by

    Professional React Developer & Senior Front End Engineer @UniversalHealthcare | https://www.barrymichaeldoyle.com | https://www.youtube.com/barrymichaeldoyle