Skip to content

Doc Improvement for "Decoupling the UI from the URL" section #3614

@dchambers

Description

@dchambers

The Decoupling the UI from the URL section of the Route Configuration document talks about 'Absolute paths', but never actually demonstrates an absolute path. It instead shows you how to decouple the UI from the URL using relative paths.

I think it would make sense to first show how to do it with relative paths, but then provide an alternative example using absolute paths to show another way that may be more useful when it's a deeply nested route and you want to avoid lots of code duplication.

If people agree that this change makes sense then I'd be happy to submit a pull-request, though it's not currently clear to me whether the version of the config that uses relative URLs avoids the incompatability with dynamic routing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions