react-bootstrap / react-router-bootstrap

Integration between React Router and React-Bootstrap
Apache License 2.0
1.69k stars 158 forks source link

LinkContainer does not pass along "state" property #302

Closed agawley closed 2 years ago

agawley commented 2 years ago

In React Router V6, state is no longer in the to object and so needs to be passed independently to navigate. Right now, a state parameter is just ignored.

I'm happy to work up a PR for this.