title: How to subscribe a Redis channel from a React Component
body: <p><strong>How can I subscribe a redis channel inside a React Component when it is mounted (i.e, inside the componentDidMount() ) ?</strong></p>
  
  <p>In the internet almost everywhere I see the redis implementation with nodejs but can't find any 
  sufficient hints how to use this in React App.</p>
  
  <p>Actually I want to update my ecommerce dashboard (react app) data without refreshing the page. In the backend I used djangorest framework. When any API is fired to change any data the python code doing its work and also publishes a message in a specific Redis channel.</p>
  
  <p>I want to subscribe that channel from the client (react app) so that it can consume this message and update it's content real time.</p>