title: React.JS - Completely not Mounting in Node - Express View Template
body: <p>I am New in Learning to create The web server application using Node-Express-React but I couldn't React Fully. In This Code I tried to use 
  <code>componentDidMount()</code> function in React but somehow this piece of code is not firing it .. Searched all the Way to Internet but couldn't find a way to use it with only Express Node and React. Have learned about the <code>Webpack</code> which turns out to create complexity in my code</p>
  
  <p>Here is the Server Side <code>server.js</code> code to set my views and stuffs </p>
  
  <pre><code>const express = require('express');    
  const app = express();    
  const path = require('path');  
  const React = require('react'); 
  //setting my CSS folder (works fine)
  app.use(express.static('static_assets'));
  
  app.set('views','./views' );
  app.set('view engine','jsx');
  app.engine('jsx',require('express-react-views').createEngine());
  
  app.get('/',function (req,resp){
      resp.render('app',{});
  });
  
  app.listen(5000,function(){
      console.log("Server Running at 5000");
  });
  </code></pre>
  
  <p>and here is my React <code>app.jsx</code> Code</p>
  
  <pre><code>var React =require( 'react');
  
  class Text extends React.Component{
      constructor(props){
          super(props);
          this.state = {speed:10};
      }
      componentDidMount(){
          this.setState({speed:30});
      }
      render(){
          return(
                &lt;div&gt;
               &lt;h1&gt;Hello &lt;/h1&gt;
             {this.state.speed}
          &lt;/div&gt;
          );
      }
  } 
  class app extends React.Component{
      constructor(props){
          super(props);
      }
      render(){
          return(
                &lt;Text /&gt;
          );
      }
  }
  
  module.exports= app;
  </code></pre>
  
  <p>I have used this same code of React side and created a web page of HTML from scratch and copied it there and imported <code>React.js</code> and <code>ReactDOM.js</code> CDN's and this same code works fine on Static HTML pages but not on Express Node Server for Some Reason</p>
  
  <p>if there exist any way that I can make <code>componentDidMount()</code> trigger or Make a State change after it is being Rendered??</p>