Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
stickfigure
7y ago
0 comments
Save
Share
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.
0 comments
1 comments · 1 top-level
top
newest
oldest
sorahn
7y ago
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.
j
/
k
navigate · click thread line to collapse