How does react-router stay on the original page during refresh instead of jumping back to the home page?

after the route built by react-router jumps to another page, refreshing the browser will go to the home page? How to make it only refresh this page

Mar.12,2021

it should be that your code is not written correctly, otherwise this will not happen. Post your code and have a look at

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be6990-31817.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be6990-31817.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?