Rescreva essa parte da string com as seguintes condições: 1. Não elimine NENHUMA…
- User
Rescreva essa parte da string com as seguintes condições: 1. Não elimine NENHUMA informação dada no artigo. 2. Termos, variáveis, expressões ou referências devem ser SEMPRE mantidos em inglês. 3. Apenas transcreva o artigo para um inglês mais simples, tornando ele mais literal e direto, sem alterar o contexto. 4. Não remova as tags HTML e nem os "#thedivisor#". 5. Você deve me enviar sua resposta em texto puro, sem markdown.
codeYour React app is taking shape with many components nested within each other. How does React keep track of your app's component structure?#thedivisor#React, and many other UI libraries, model UI as a tree. Thinking of your app as a tree helps understand the relationship between components. This understanding will assist you in debugging future concepts like performance and state management.#thedivisor#<li class="leading-relaxed mb-1">How React “sees” component structures</li> <li class="leading-relaxed mb-1">What a render tree is and what it is useful for</li> <li class="leading-relaxed mb-1">What a module dependency tree is and what it is useful for</li>#thedivisor#Trees represent relationships between items, and UI is often shown using tree structures. For instance, browsers use tree structures to model HTML (<a href="https://developer.mozilla.org/docs/Web/API/Document_Object_Model/Introduction" target="_blank" rel="nofollow noopener noreferrer" class="inline text-link dark:text-link-dark border-b border-link border-opacity-0 hover:border-opacity-100 duration-100 ease-in transition leading-normal">DOM</a>) and CSS (<a href="https://developer.mozilla.org/docs/Web/API/CSS_Object_Model" target="_blank" rel="nofollow noopener noreferrer" class="inline text-link dark:text-link-dark border-b border-link border-opacity-0 hover:border-opacity-100 duration-100 ease-in transition leading-normal">CSSOM</a>). Mobile platforms also use trees to show their view hierarchy.#thedivisor#React creates a UI tree from your components. In this example, the UI tree is then used to render to the DOM.#thedivisor#Like browsers and mobile platforms, React also uses tree structures to manage and model the relationship between components in a React app. These trees are helpful tools to understand how data flows through a React app and how to optimize rendering and app size.#thedivisor#A major feature of components is the ability to compose components of other components. As we <a class="inline text-link dark:text-link-dark border-b border-link border-opacity-0 hover:border-opacity-100 duration-100 ease-in transition leading-normal" href="/learn/your-first-component#nesting-and-organizing-components">nest components</a>, we have parent and child components, where each parent component may also be a child of another component.#thedivisor#When we render a React app, we can model this relationship in a tree, called the render tree.#thedivisor#Here is a React app that shows inspirational quotes.#thedivisor#React creates a <em>render tree</em>, a UI tree, made up of the rendered components. - Assistant