title: How can change the value of a variable in React Component
body: <p>I have this React component.I would like to change the value of the variable <strong>title</strong> in the function test() .</p>
  
  <pre><code>import * as React from 'react';
  import * as ReactDOM from 'react-dom';
  import { ValueStore } from '../../host/redux/list.store';
  import { removeLast } from '../../host/redux/list.action';
  import { Injector } from '@angular/core';
  import { Model } from '../../model';
  
  interface ReactChildComponentViewProps {
     title: String;
     store: ValueStore;
     injector: Injector;
  }
  
  var ReactChildComponent = React.createClass&lt;ReactChildComponentViewProps, any&gt;({
  
      getInitialState: function() {
  
          console.log( 'Using Angular 2 injector in React body, model.uuid: ' + model.uuid );
  
      },
  
      render: function() {
          var title = "Ttile";
  
          return(
             &lt;div&gt;
                 {title}
  
             &lt;/div&gt;
          );
      }
  });
  
  export class ReactChildComponentView {
  
      static initialize(title, store: ValueStore, containerId: string, injector: Injector) {
          ReactDOM.render(&lt;ReactChildComponent title={title} store={store} injector={injector}/&gt;, document.getElementById(containerId));
      }
      static test() {
          console.log('Test');
  
          //this.props.store.dispatch( removeLast() );
      }
  }
  </code></pre>
  
  <p>Is it possible to change the value of title in function test().Is yes How can I do this?</p>