Closed b3b00 closed 6 months ago
Funny. I have exactly she same problem when finding an 5 hour old ticket about this^^
The solution @Avalarion posted works.
Another solution is to change based on the prop reactively!
the solution from #274 is working well. I 've fixed my repl as an example : navigating within the same component
@ItalyPaleAle , could you elaborate on on your solution "change based on the prop reactively" ? I don't understand it , but I guess it does not need some wrapper component which will be better.
Hello,
I have the followinng routes
Routing works well except when I am trying to route from 1 /view/xxxx to another /view/yyyy : it stays on /view/xxx and does not update the content as expected. the same happens with /edit routes.
you can find an example here : https://svelte.dev/repl/8d695cd6a7de4e4f83a6968a8a22ef4a?version=4.2.9
you can see that the behavior is the same using either hash links or push calls.
We need to get out from a /view screen (going to /edit for instance) to be able to navigate to another /view instance.
could you help me debug this ? or is this simply impossible ?