In which case we use Static Router or BrowserRouter or HashRouter and why?

Viewed 1141

I'm a beginner in React and stuck with some problem.I have read many blogs but can't able to find why and in which specific case we use these Router type?

1 Answers

try looking at - cick

BrowserRouter for the browser and static requests for the server (SSR), and HashRouter must be used for a static site (adds #)

Related