A deep dive into children in React

Article by Max Stoiber

When I first learned React, I thought 'Use props.children and that’s it. I know everything about children' Boy, was I wrong. Because we're working with JavaScript, we can change children. We can send special properties to them, decide if we want them to render or not and generally manipulate them to our will. Let's dig into the power of children in React.

Related resources

React — Dynamic Component Names with JSX

Using components within other components is one of the most common things you will do working with React. What happens when you need a more elegant solution for conditionally rendering these though? This article will explain you how to choose dinamically the component that needs to be rendered. [continue]

Article by Scott Carmichael