ItalyPaleAle / svelte-spa-router

Router for SPAs using Svelte 3
MIT License
1.53k stars 105 forks source link

Nested routes as maps #296

Open notramo opened 1 year ago

notramo commented 1 year ago

When nested routes are used often, and with more complex paths, it becomes verbose, and error prone. Vue router solves this by using a tree of routes.

ItalyPaleAle commented 1 year ago

I will consider this, as long as it doesn’t make the router much more complex. The value of svelte-spa-router is that the APIs are relatively small, especially for the basic things, and can be used even without spending too much time reading docs. maintaining this is my first priority!