Skip to content

what is a proper way to make redirect in onEnter or thunk callback? #50

@Guria

Description

@Guria

I want to have some parts of url to be optional with default values set in onEnter callback.
Eg., for route /foo/:bar? I want a link to /foo properly redirected to /foo/first with current entry replaced in history instead of pushing new one.

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