Router rendering the component on the same page rather than rendering in a new page
问题 Router is rendering the page on the same page than to generate a new page. What might be the problem? Whenever I click the link Polls , it renders the page only there but the URL is shown as changed in the browser. Polls.js import React from 'react'; import {Link} from "react-router-dom"; class Polls extends React.Component{ render() { return( <div> <h1>Polls Page</h1> <p>This is Polls Page </p> </div> ) } } export {Polls} Choices.js import { BrowserRouter as Router, Route, Link } from "react