Open ooow opened 5 years ago
Advert
src/app/pages/
<Route path="/ad/:id" component={Advert}/>
(this.props.match.params.id)
SP-2
Advert
insrc/app/pages/
<Route path="/ad/:id" component={Advert}/>
for routing all this requests to created new page.(this.props.match.params.id)
and get from store this advert object to show in page context.SP-2