Skip to content

[RR7] Instrument client-side HydratedRouter #16160

Closed
@chargome

Description

@chargome

Description

We need to instrument the client router of RR, since the browserTracingIntegration is only creating navigation spans by listening on popstate changes – which is way too late for our server instrumentation to make sense.

Current state with browserTracingIntegration:

Image

React Router in framework mode uses a HydratedRouter on the client.

This ticket is about finding out if we can reuse parts of our existing RR client-side instrumentation for this router and handle navigation timing correctly.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions