I think it would make sense if forRoutes was available on <RelativeFragment> as well as <AbsoluteFragment>.
Say you have <Book> React class that handles the rendering of most books (but encyclopedias have their own <Encyclopedia>), but your application subdivides these by genre. E.g.
I think it would make sense if
forRoutes
was available on<RelativeFragment>
as well as<AbsoluteFragment>
.Say you have
<Book>
React class that handles the rendering of most books (but encyclopedias have their own<Encyclopedia>
), but your application subdivides these by genre. E.g.This is contrived, but what you want is to have: