so '/' is for home page and '/about' for about us page but when i am going to home to about my about us page content is append at the end of the home page please help me thank you
import {HashRouter, Route,Router,browserHistory,Link,Switch} from 'react-
router-dom';
<HashRouter handler={App}>
<span>
<Route path={'/'} component={TodoComponent}></Route>
<Route path={'/about'} component={About}></Route>
</span>
</HashRouter>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.7/react.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.7/react-dom.min.js"></script>