Skip to content

Link state missing on navigation #445

@msfleischer

Description

@msfleischer

Describe the bug

The Link/navigate state property doesn't pass the state to the provided route on navigation.

Your Example Website or App

https://stackblitz.com/edit/github-hqyitv?file=src%2Fmain.tsx

Steps to Reproduce the Bug or Issue

Click on the About link in the navbar to navigate to the new route with the state printed out.

Expected behavior

I expected to see the provided state {"test":"value"} to be printed to the screen on the new route. Instead a state with a random ID gets output, e.g. {"id":"16706647803220.5453417445657511"}.

Screenshots or Videos

No response

Platform

  • OS: Linux running in Windows WSL
  • Browser: Chrome
  • Version: 108.0

Additional context

No response

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