related codes
is there any other way than the following?
Route
definition method:
<Route path="/path/:name" component={Path}/>
Link
component:
<Link to="/path/"></Link>
Parameter acquisition:
this.props.match.params.name
-sharp-sharp-sharp problem description
what methods have you tried
query
No!
state
No!
what result do you expect? What is the error message actually seen?
js jumps, the parameters are taken, and the page refresh parameters are not lost.