benbieler benbieler - 22 days ago 6
Javascript Question

What is the difference between hashHistory and browserHistory in react router?

I have googled quite some bit, but I didn't find a clear answer to the following question: What is the difference between hashHistory and browserHistory in react-router?

Answer

The React-router documentation has pretty good information about the differences. The documentation will follow the changes of the API, too, so consulting those instead of a quickly-stale explanation here will be best.