title: Re-render component on props update
body: <p>I guess this is a simple question but here goes: Is there a way of instructing your component to re-render when the props change? I have my component connected to the redux store which on a certain action updates the state, which then filters down into the props, upon which point I want the app to respond to the changes.</p>
  
  <p>I guess you would use <code>componentDidUpdate()</code>?</p>
  
  <p>Something like:</p>
  
  <pre><code>// ...
  componentDidUpdate(prevProps, prevState) {
     if (prevProps !== this.props) {
        // re-render x &lt;-- not sure how to do this
     }
  }
  </code></pre>
  
  <p>Plus what would be the method to re-render the <strong>whole</strong> component, and what would be the method of re-rendering <strong>only the updated props</strong>?</p>
  
  <p>Any help appreciated.</p>