title: Dynamic header child component in react/redux application
body: <p>I'm building a react application where the header changes based on the routes, but also depending of the state of other components.</p>
  
  <p>I'm looking for a way to control the header from child components.</p>
  
  <p>For example, I would like that when I click on a button in the main page the header would append new components.</p>
  
  <p>Is there a way to achieve this while avoiding multiple if statements in the header ?</p>