04-07-2022Nadia Makarevich The mystery of React Element, children, parents and re-renders Looking into what is React Element, exploring various children vs parents relationship in React, and how they affect re-renders In one of the previous articles about React composition, I showed an example of how to improve performance of a component with heavy state operations by passing other components to i
![The mystery of React Element, children, parents and re-renders](https://cdn-ak-scissors.b.st-hatena.com/image/square/c68d0909e656be26f3e404c34bb2ec99d6ef8f33/height=288;version=1;width=512/https%3A%2F%2Fwww.developerway.com%2F%2Fassets%2Freact-elements-children-parents%2Fwelcome.png)