I have a component ‘C0’ with a complex tabbed interface. When i use it as child of another component ‘C1’, i defines the routes for each of the tabs of ‘CO’ as child of ‘C1’.
However, now I need to show this component elsewhere too as child of a another component ‘C2’. Do I now need to literally copy/paste my router paths to also make them child of ‘C2’?
Each time i add another tab to ‘C0’, i have to add another route to both ‘C1’ and ‘C2’!
How does this scale as ‘C0’ gets more complex and hierarchical?