Re:React Router v5
by stickfigure on Thursday March 21, 2019 @09:52AM
(#19452313)
I also do this - 4 layers deep at times - and it works great. IMHO it's one of the more clever bits of react-router.
Yup. My "top level routes" only have 3 paths, and everything goes from there. Thinking about routes just like components is really fantastic for react, and I don't miss having a giant central router even a little bit.
I've been managing "relative" routes by just using `match.path` and `match.url` from the previous route. Works fine.