Skip to content

route.push() and route.replace() in session listener isn't reflected in URL #123

@elektronik2k5

Description

@elektronik2k5

Hello and thanks for this project!

I think I found a bug. Calling route.push() or route.replace() in a listener doesn't update the URL. Here's a reproduction: https://codesandbox.io/s/type-route-recursive-sslew6?file=/index.ts

Usage:

  1. Open link
  2. Open console and note the URL of the preview
  3. Click on "User List" link
  4. Note the correct console messages and correct rendering but incorrect URL, which doesn't change from page=1 to page=100.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions