At the core of using React is writing components. React got really popular because of it's composition model. The contract with the framework is that we'd write good components and React will take care of the rest.
No, this isn't a post about child labour. It's a post about using children as props. Wait that doesn't sound right either. It's about composition, okay?
Welcome to the weird world of difficult to debug bugs because of order of props. This is part 3 of series about writing component API for great developer experience.