Skip to content

Route children param not implemented #80

Closed
@inZaCz

Description

@inZaCz

One parameter of Route class, defined in route.svelte.ts is children with description how it can work.
In the class constructor are correctly creates new routes from the children routes definition

The issue is that the children are never used in route Evaluation and the example in description(jsdoc) do not work. Or maybe i am missing something.

It would be not a big deal but the usage of hash/:page/:id is kinda common in routers, where you can directly access the value (page, id) in route or routing result. And since i did not find easy way to implement this with this router, i think maybe the children routes could help.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions