Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
9.15.0
Framework Version
React 19.0.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
Try to import getTraceData from @sentry/react or @sentry/browser like described in https://docs.sentry.io/platforms/javascript/tracing/distributed-tracing/ docs. Find out that it's not re-exported from @sentry/core
Steps to Reproduce
Try to import it
Expected Result
The documentation to say to use @sentry/core (and not just use Sentry which I understand to mean either import * as Sentry from '@sentry/react' OR import * as Sentry from '@sentry/browser) or to re-export this feature from all of the platform/framework packages.
Actual Result
getTraceData not re-exported by react/browser packages
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
9.15.0
Framework Version
React 19.0.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
Try to import
getTraceDatafrom @sentry/react or @sentry/browser like described in https://docs.sentry.io/platforms/javascript/tracing/distributed-tracing/ docs. Find out that it's not re-exported from @sentry/coreSteps to Reproduce
Try to import it
Expected Result
The documentation to say to use @sentry/core (and not just use
Sentrywhich I understand to mean eitherimport * as Sentry from '@sentry/react'ORimport * as Sentry from '@sentry/browser) or to re-export this feature from all of the platform/framework packages.Actual Result
getTraceDatanot re-exported by react/browser packages