Open
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/sveltekit
SDK Version
8.32.0
Framework Version
sveltekit 2.5.28
Link to Sentry event
No response
Reproduction Example/SDK Setup
Steps to Reproduce
Just start a sveltekit app with sentry and on first page load you will see the warning.
seems like initiating here // node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js
[Warning] Avoid using
history.pushState(...)and
history.replaceState(...)as these will conflict with SvelteKit's router. Use the
pushStateand
replaceStateimports from
$app/navigation instead. (client.js, line xxx)
Expected Result
No wanning while using svelte app navigation.
Actual Result
[Warning] Avoid using
history.pushState(...)and
history.replaceState(...)as these will conflict with SvelteKit's router. Use the
pushStateand
replaceStateimports from
$app/navigation instead. (client.js, line xxx)
Metadata
Assignees
Type
Projects
Status
No status
Activity