News for hackers. Stuff that matters.
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.
Re:React Router v5 by sorahn on Thursday March 21, 2019 @06:28PM (#19457979)
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.