score:0

Accepted answer
<ParentPage>
 <Route
   path="/demo/page1"
   component={Page1}
 />
 <Route
   path="/demo/page2"
   component={Page2}
 />
</ParentPage>

Related Query

More Query from same tag