What if react-router4 and antd-mobile are used together, and the top navigation and bottom navigation point to the same component?

what if react-router4 and antd-mobile are used together, and the top navigation and bottom navigation point to the same component? Put the component directly in the tag and it will be displayed repeatedly. Can react-router4 solve this problem?

Top navigation: bottom navigation of https://mobile.ant.design/com...
: https://mobile.ant.design/com...

Apr.01,2022
Menu