Skip to content

visitAllLinks() QueryParam Issues #128

Description

@kdagnan

Wanted to use visitAllLinks() but we have quite a few <LinkTo/> uses where we intentionally do not set the @query argument because we want users to return to whatever their previous state on the route was.

This causes issues when visiting a page and adding it to the queue, changing the queryParam, then later visitAllLinks tries to find the href that matches but <LinkTo/> has updated the href based on the most recently set QP values.

I was going to submit a fix but I can't find a great solution, just wanted to document this issue here in case anyone else runs into it or has a solution.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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