title: React 0.14.0-RC1 / React-Router 1.0.0-RC1 - Cannot read property 'props' of null
body: <blockquote>
    <p>I am working off <strong>Alex Bank's <a href="http://www.lynda.com/Developer-Web-Development-tutorials/Building-Polling-App-Socket-IO-React-js/387145-2.html" rel="nofollow">"Building a Polling App with Socket IO</strong>
    <strong>and React.js" (Lynda.com)</strong></a>, but I am trying to upgrade it to
    react-router 1.0.0-RC1.</p>
  </blockquote>
  
  <hr>
  
  <blockquote>
    <p>My <a href="https://github.com/SarasotaSun/koa-react-isomorphic-io-mongo-passport-master" rel="nofollow"><strong>github repository can be found here ....</strong></a></p>
  </blockquote>
  
  <p><strong>Problem:</strong></p>
  
  <p>When a speaker signs in and creates a presentation, a list of questions successful appears. However, when the speaker clicks on a respective question to emit to the attendees, I receive the error: <strong>"Cannot read property 'props' of null"</strong> which identifies the error in the Question.js component:</p>
  
  <pre><code>ask(question) {
    console.log('this question: ' + JSON.stringify(question));
    this.props.emit('ask', question); &lt;--- Console points to this
  }
  </code></pre>
  
  <p>But I do not believe that is the problem per se. I believe the actual problem is that this emit is not reaching the socket.on in the app.</p>
  
  <p><strong>APP.js:</strong></p>
  
  <pre><code>componentWillMount() {
    this.socket = io('http://localhost:3000');
    this.socket.on('ask', this.ask.bind(this));
    ....
  }
  
  ask(question) {
    sessionStorage.answer = '';
    this.setState({ currentQuestion: question });
  }
  </code></pre>
  
  <p>I <strong>believe</strong> it is react-router related, but the parent route does have component {APP}, and Speaker is a child route and the Speaker component does import the Question component, so I am assuming the Question component is connected to the APP's.</p>
  
  <p>In Alex's project it is working, but he uses:</p>
  
  <pre><code>  "react": "^0.13.3",
    "react-router": "^0.13.3", 
  </code></pre>
  
  <p>Any chance someone can offer me some insight on this?</p>
  
  <p>Many Thanks!</p>