Skip to content

Clarify child element rendering behaviour - #8704

Open
Mahendra-2006 wants to merge 2 commits into
reactjs:mainfrom
Mahendra-2006:docs/issue-8007
Open

Mahendra-2006 wants to merge 2 commits into
reactjs:mainfrom
Mahendra-2006:docs/issue-8007

Conversation

@Mahendra-2006

Copy link
Copy Markdown

Fixes #8007

Clarify how passing a child element through children prop can allow React to reuse that element when a component updates its own state.
Contrast this with creating child elements directly in a component's JSX.
Note that passing children does not prevent all re-renders.

@github-actions

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

This branch was successfully deployed

1 active deployment
Preview — a47490c7 Deployed Oct 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant