Skip to content

next(false) clears path on global Navigation Guards #3805

@daniil4udo

Description

@daniil4udo

Version

3.6.5

Reproduction link

codesandbox.io

Steps to reproduce

  • Run reproduction
  • Switch to some route other then '/' (i.e. /route2/)
  • Refresh the page

You'll notice that path gets cleared for a few ms (but still visible) in the big apps it happens for longer period of time

What is expected?

Path not gets cleared
(change next(false) to next() and you'll see how it should be)

What is actually happening?

App ends up in the root for awhile

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