Avoiding deeply nested component trees
Ruben Oostinga

Do you use any central state managers like Redux or Flow? I had the problem you’re describing and it seemed like the best solution was to use redux-react’s connect() method to make key state available wherever necessary.

I have a few massive files which contain a lot of their children’s functionality and then pass it down as props, they’ve gotten really unmanageable. Nearly done converting to Redux in hopes that it’ll help with all this.

Like what you read? Give John O'Sullivan a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.