I am trying to accomplish this modal:
I want to render my image gallery, and when clicking on an image, the popup needs to be opened. I want to do it with urls and not with state/store changes. for example:
the link : "/gallery/popular/fhoeuwy3928" will render the gallery in the back and the popup in front.
In react-router 3 it was simple with nested routes. How can I do it with v4?
These are my current routes:
<Route exact path='/' component={Home}/>
<Route path='/gallery/:category' component={Gallery}/>
<Route path='/gallery/:category/:id' component={Popup}/>
