In react. Routing settings, how to make a page component display by default?

in vue, vue-router I redirect with redireact, and the route jumps to that specified route, and the page component is displayed. When I use react, it doesn"t seem to show by default when it is set up in the route. Why is that?

clipboard.png

clipboard.png

clipboard.png

as shown in the figure, clicking footer, does not display the contents of the one under footer.
I hope the great gods will solve their doubts!

Apr.05,2021

there is also a component called Redirect in react-router .

as a reminder, it's best not to learn the analogy between react and vue .

Menu