Skip to content

Clarify useLayoutEffect setup timing#8488

Merged
eps1lon merged 1 commit into
reactjs:mainfrom
MakenRosa:fix-layout-effect-timing-docs
Jun 22, 2026
Merged

Clarify useLayoutEffect setup timing#8488
eps1lon merged 1 commit into
reactjs:mainfrom
MakenRosa:fix-layout-effect-timing-docs

Conversation

@MakenRosa

Copy link
Copy Markdown
Contributor

Fixes #6672

Summary

  • Clarifies that useLayoutEffect setup runs after the component commits to the DOM and before the browser repaints.

Verification

  • Not run; documentation-only change.

@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! 🙌

@eps1lon eps1lon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@eps1lon eps1lon merged commit b4610fb into reactjs:main Jun 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Typo]: Possible incorrect info

2 participants