Hi,
I know I can pass params by Route like
<Route path="/corpus/:corpusId/tag" component={TagPage} tags={tags} />}/>
But that require set component , and component must be child of current page. That is inconvenient.
I'd like to use Link like
<Link path="/corpus/:corpusId/tag" tags={tags} />}/>
Automatically pass tags to certain component.
Hi,
I know I can pass params by Route like
But that require set
component, andcomponentmust be child of current page. That is inconvenient.I'd like to use Link like
Automatically pass tags to certain component.