Concepts
Render purity
Return equivalent UI descriptions for equivalent inputs and avoid changes to values created outside the render.
Formal Syntax & Structure
react syntaxreact
Render purityWorking Example
Example Snippetreact
function Label({ name }) { return <p>{name}</p>; }