What are the advantages and disadvantages of react-router4.0 's hashrouter and browserrouter respectively? When will it be used separately?

what are the advantages and disadvantages of hashrouter and browserrouter of react-router 4.0? When will the two be used respectively?

Sep.22,2021

hashrouter matches routes with the-sharp number. As can be seen from url, for the backend, this address all points to the same address
but browserrouter does not exist-sharp, and different routes are different addresses for the backend
when you need to render Synchronize, you must use browserrouter

.
Menu