title: React not updating the DOM (Laravel)
body: <p>I have set up a basic react app with hash navigation. Problem is when I click on any link to navigate between pages, I see that the hash in the url is changing properly, as well as I added a <code>console.log</code> in my layour's <code>render</code> to see if it's getting called and it is, with proper <code>this.props.children</code> values, however the page is not rendering anything. If I go to any route and refresh the page I see the correct components rendered, but if I navigate somewhere from there noting gets rendered until I refresh again.</p>
  
  <pre><code>import React from "react";
  import ReactDOM from "react-dom";
  import { IndexRoute, Router, Route, Link, hashHistory as history } from 'react-router';
  
  class Layout extends React.Component {
  
    render() {
      console.log(this.props, document.location.hash);
  
      return &lt;div&gt;
        &lt;div&gt;
          &lt;span&gt;LEYAUTI MLEAYTI {Math.random()}&lt;/span&gt;
        &lt;/div&gt;
        &lt;div&gt;
          {this.props.children}
        &lt;/div&gt;
        &lt;div&gt;
          {this.props.params.project}
        &lt;/div&gt;
      &lt;/div&gt;
    }
  }
  
  class CreateProject extends React.Component {
  
    render() {
      return &lt;div&gt;
        &lt;h1&gt;Create PROEKT&lt;/h1&gt;
      &lt;/div&gt;
    }
  }
  
  class Projects extends React.Component {
  
    render() {
      return &lt;div&gt;
        &lt;h1&gt;PROEKTI MROEKTI&lt;/h1&gt;
        &lt;Link to="/projects/create"&gt;New project&lt;/Link&gt;
      &lt;/div&gt;
    }
  }
  
  ReactDOM.render(
      &lt;Router history={history}&gt;
        &lt;Route path="/" component={Layout}&gt;
          &lt;IndexRoute component={Projects}/&gt;
          &lt;Route path="projects/create" component={CreateProject}/&gt;
        &lt;/Route&gt;
      &lt;/Router&gt;,
      document.getElementById('app-root'));
  </code></pre>
  
  <p>Here is a visual of what's happening in the console when I navigate on a couple routes, but the DOM remains unchanged</p>
  
  <p><a href="https://i.stack.imgur.com/hO4D5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hO4D5.png" alt="enter image description here"></a></p>