header
React.js in patterns
Long time I was searching for a good front-end framework. Framework that will help me write scalable and easy to maintain UI. Even though React is just a library for rendering it comes with so many benefits that I can easily say “I found it”. And like every thing that I use a lot I started seeing some patterns. Techniques that are applied over and over again and I see in the code of other developers. It’s time that I start documenting, discussing and sharing these patterns.
Children in JSX
(This article is part of React in patterns series.)
React is highly composable. And the API that enables that is props.children
. It gives us the power to create a placeholder that is later filled with content from the outside.