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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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