-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
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/vue
SDK Version
10.5.0
Framework Version
Vue 10.5.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
https://github.com/daugvinasr/sentry-vue
Steps to Reproduce
- Make sure sentry init runs not on app launch. For example in my use case dsn config needs to be fetched.
- Have some state in the app
- Run sentry init
- Try to edit a vue component. HMR will cause full reload and loss of state
Expected Result
If I delete everything related to sentry HRM works with no problems. So expect sentry to not break HMR.
Actual Result
Sentry init breaks HMR causing full reload and loss of state
HBbhsyI1.mp4
Metadata
Metadata
Assignees
Projects
Status
Waiting for: Community