score:4

Accepted answer
import {Login} from '../components/login';

score:1

import { HashRouter, Route, Switch } from 'react-router-dom';

ReactDOM.render((
  <Provider store={store}>
    <HashRouter history={history}>
      <Switch>
        <Route path="/" name="Home" component={Full} />
      </Switch>
    </HashRouter>
  </Provider>
), document.getElementById('root'));

Related Query

More Query from same tag