title: Passing parameter to component live update in react
body: <p>I'm using <a href="http://ubilabs.github.io/react-geosuggest/" rel="nofollow noreferrer">geosuggest</a> and
  Im attempting to succinctly pass my state in React but am having errors come up.</p>
  
  <p>Here is my <a href="https://jsfiddle.net/lukecurtis/7urk2xhj/" rel="nofollow noreferrer">jfiddle</a>
  I have the following in my default class:</p>
  
  <pre><code>{!this.state.isHidden &amp;&amp; &lt;Address state={this.state} /&gt;}
  </code></pre>
  
  <p>Which renders out:</p>
  
  <pre><code>class Address extends Component {
      render() {
          return (
              &lt;div className="row"&gt;
                  &lt;div className="col-md-6 mt-2"&gt;
                      &lt;input type="text" className="form-control form-control-borders" required name="address_line_one" defaultValue={this.props.state.address_line_one} /&gt;
                  &lt;/div&gt;
                  &lt;div className="col-md-6 mt-2"&gt; 
                      &lt;input type="text" className="form-control form-control-borders" required name="address_suburb" defaultValue={this.props.state.address_suburb} /&gt;
                  &lt;/div&gt;
                  &lt;div className="col-md-6 mt-2"&gt; 
                      &lt;input type="text" className="form-control form-control-borders" required name="address_city" defaultValue={this.props.state.address_city} /&gt;
                  &lt;/div&gt;
                  &lt;div className="col-md-6 mt-2"&gt; 
                      &lt;input type="text" className="form-control form-control-borders" required name="address_postcode" defaultValue={this.props.state.address_postcode} /&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          )
      }
  }
  </code></pre>
  
  <p>Essentially what happens is on bind the values for each address is put into a variable depending on when you click on a 'suggested result' and when you click on 'Can't find your address?' it opens the the input and you can type the answer yourself.</p>
  
  <p>However if I press 'can't find your address' and then attempt to use the geosuggest module, it doesn't populate the fields with the new variables I made when i click a suggested location.</p>
  
  <p>Sorry im super new to react here im just wondering if i've binded my state wrong or something?</p>