Skip to content

Clarify fetching data guidance in “You Might Not Need an Effect” (#8506) - #8744

Open
Jubayeromi wants to merge 1 commit into
reactjs:mainfrom
Jubayeromi:issue-8594-fetch-data-effect-guidance
Open

Jubayeromi wants to merge 1 commit into
reactjs:mainfrom
Jubayeromi:issue-8594-fetch-data-effect-guidance

Conversation

@Jubayeromi

Copy link
Copy Markdown

##8506

Clarified when fetching should stay in an Effect to synchronize results with the current query and page, versus when a request belongs in an event handler because it should run only after a specific user action. Also clarified that URL navigation must update React or router state for the Effect to respond.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 9, 2026

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 — 2ed18f1a Deployed Nov 9, 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

Development

Successfully merging this pull request may close these issues.

1 participant