老师请问一下react可以实现组件嵌套么
就像react-router提供的那样
<Routes location="hash">
<Route path="/" handler={App}>
<Route path="books" name="bookList" handler={Books}/>
<Route path="movies" name="movieList" handler={Movies}/>
<Redirect to="bookList"/>
</Route>
</Routes>