Skip to content

Use new handleLoad hook when released and available #9912

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Lms24 opened this issue Dec 19, 2023 · 0 comments
Open

Use new handleLoad hook when released and available #9912

Lms24 opened this issue Dec 19, 2023 · 0 comments
Labels
Improvement Package: sveltekit Issues related to the Sentry SvelteKit SDK

Comments

@Lms24
Copy link
Member

Lms24 commented Dec 19, 2023

Something to follow up on which hasn't yet landed - handle(Server)Load hooks: sveltejs/kit#11313

My first take: When this lands, we export handlers for it from our SDK but continue with auto instrumentation. In v9 we drop 1.x support, remove auto instrumentation and switch to exclusively instrumenting load functions via handle(Server)Load. If we adjust the wizard to add the handlers automatically at this point, I believe we should be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Package: sveltekit Issues related to the Sentry SvelteKit SDK
Projects
None yet
Development

No branches or pull requests

3 participants