title: Does new React Context API trigger re-renders?
body: <p>I have been trying to understand the new React Context API and was playing with it. I just wanted to check a simple case - what all re-renders when data to a Provider is updated. </p>
  
  <p>Check <strong><a href="https://codesandbox.io/s/l2kx18n35z" rel="noreferrer">this small example on Codesandbox</a></strong></p>
  
  <p>So, in my example, I have an <code>App</code> component - that has state something like this -- </p>
  
  <pre><code>this.state = {
    number - A random number
    text - A static text
  } 
  </code></pre>
  
  <p>I create a new React Context from here containing <code>number</code> and <code>text</code> from state and pass the values to two Consumers <code>Number</code> and <code>Text</code>.</p>
  
  <p>So my assumption is if the random number updates, it will change the context and both the components should trigger re-render. </p>
  
  <p>But in reality, the value is updating but no rerender is happening.</p>
  
  <p>So, my question -</p>
  
  <ol>
  <li><p>Are updated to the context not propagated via the ususal rerenders? As I cannot see my logs / color changes when context changes. </p></li>
  <li><p>Are all the consumers to that Provider updated or not?</p></li>
  </ol>