Enter the same address in the address bar in react-router, and those with different parameters will not jump immediately?

now there is a router for the User page

<Route path="/User/:actid" component={User} > 
</Route>

when you change the actid parameter after the address bar User, the first input will not jump, and you will jump back only if you press enter again.

for example, enter / User/59, first, then change 59 to 60, press enter, and there will be no jump at this time. Click enter again to jump

Mar.07,2021

default to the same component will use the original component

  1. watch
  2. Route Guard

use these two to listen for updated data
there seems to be another way to set key by routing

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-1e585a6-454a0.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-1e585a6-454a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?