Run function when user is navigated to a page

This issue has been tracked since 2022-01-28.

I want to run a function in the page when a user is navigated to that page through navigate().

Putting the function in the <scrypt> tag doesn't work, it is only run when the user manually goes to the page. Neither does onMount() work.

What could I do?

More Details About Repo
Owner Name EmilTholin
Repo Name svelte-routing
Full Name EmilTholin/svelte-routing
Language JavaScript
Created Date 2017-11-28
Updated Date 2022-12-03
Star Count 1711
Watcher Count 21
Fork Count 151
Issue Count 59

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date