Answer the question
In order to leave comments, you need to log in
How to correctly pass a parameter to Link to open the desired page?
There are paths:
/nazvanie-novosti-type-1
/nazvanie-novosti-type-2
/nazvanie-novosti-type-3
and there are a lot of them.
They can refer to multiple components:
Component1
Component2
Component3
My Route at the moment
<Route path=':param' component={ ComponentWrap }/>
<Link to='/nazvanie-novosti-type-1' />
Answer the question
In order to leave comments, you need to log in
How do I now know what type of page to show the user?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question