Skip to content

The right way to trigger a funciton on route change #13100

Answered by brunnerh
karchung0930 asked this question in Q&A
Discussion options

You must be logged in to vote

There are various lifecycle functions that can be used:

(This only applies to SvelteKit, so probably should have been over there.)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@karchung0930
Comment options

@brunnerh
Comment options

Answer selected by karchung0930
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants