title: React - Router inside a element using class
body: <p>How do i render a react component using class?</p>
  
  <p>I have the following code:</p>
  
  <pre><code>class PageLogin extends React.Component {
  
      render() { 
         return (&lt;p&gt;hello&lt;/p&gt;)
      }
  }
  export default PageLogin
  </code></pre>
  
  <p>When i import it, it render the component entirely, updating the page, so how do i inject it into a div in the component that is rendered?</p>