mefechoel / svelte-navigator

Simple, accessible routing for Svelte
Other
502 stars 39 forks source link

Navigation between components - is possible? #52

Closed jaclas closed 2 years ago

jaclas commented 2 years ago

I have a need to refresh a section of the page which is a separate component with a dynamically generated list (paging). But it is not the main part of navigation and main menu only a subpage. I've been sitting on this for 3 days (sic!) and can't figure it out.

I prepared some example image and code to present my problem:

routing

Below is the simplified code, the real one is more complicated. Of course, this example not working

https://codesandbox.io/s/stupefied-firefly-mdw5n