Open Daarien opened 4 years ago
When i experiment with "/page/:x?/:y?" sometimes it works, but a few moves later i get clean white screen.
Could it be made as in "abstract-nested-router"?
You're right, that functionality was lost, thanks for your feedback!
One more unpleasant thing. When navigating to page from outside, first level optional param path like "/page/(:param)" works, but when start navigating from inside this page, optional param stop working.
Example https://svelte.dev/repl/3678130b9358496eabf8c84aabf7f2c3?version=3.20.1
"abstract-nested-router" docs say (of params): "By default all segments are optional, e.g. /a/:b/:c matches with /a, /a/x and /a/x/y so you can say :b and :c are optional parameters."
For "yrv" it is not so. If i need a page with optional params, i have to declare three routes, one for each case:
I need the same component with params based on current path.
Could it be made as in "abstract-nested-router"?