bereaksi router beberapa jalur
<Router>
<Route path={["/home", "/users", "/widgets"]} component={Home} />
</Router>
Silly Skunk
<Router>
<Route path={["/home", "/users", "/widgets"]} component={Home} />
</Router>
//use multiple components in one Route:
<Route path='/path' render={props =>
<div>
<FirstChild />
<SecondChild />
</div>
} />
<Routes>
<Route
path="/"
element={[
<Header key={1} />,
<LandingSection key={2} />,
<CardList key={3} /> ]}>
</Route>
</Routes>