Concepts

Component type identity

React uses component types and positions in the tree to determine identity. Defining a child at module scope avoids recreating its function type during each parent render.

Formal Syntax & Structure

react syntaxreact
Component type identity

Working Example

Example Snippetreact
function Notice() { return <p>Ready</p>; }
React Reference