Skip to content

React Router v6 propagates stale pageload trace for requests fired in a route's mount effect #21322

@chargome

Description

@chargome

React Router v6 component Routes propagates the stale pageload trace (not the navigation trace) for requests fired in a route component's mount useEffect, because navigation is detected in a parent passive effect that runs after child mount effects.

Metadata

Metadata

Assignees

Labels

javascriptPull requests that update javascript code
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions