Closed iluuu1994 closed 2 years ago
Any feedback?
Switched to Routify.
@iluuu1994 Hi. I also faced this issue now. If svelte-navigator can't handle this then I need another router. How did you manage to solve this via Routify? Is it for SPA or SSR apps?
@Maqsim You can use the $beforeUrlChange
callback.
Closes #45
Here's a POC. It's not the prettiest code ever but it handles all the cases described. Tests are also missing, I'll add these shortly.
Let me know if you think this approach is viable or if I need to change something fundamentally.