How to achieve refresh effect when react-router jumps to the same path

for example, I now have a Link tag on page A pointing to page A. I click on the A tag to achieve a refresh effect, but now there is no response, and it is useless to set replace= {true}. What do I need to do.


send a query or something. Repull data when a query change is detected in componentWillReceiveProps in the component, or add a key, to the component and update the key when you click Link


<a onClick={()=>history.go(0)}>Go to a page</a>
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-1e9a90e-17e8.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-1e9a90e-17e8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?