title: React Native: Refresh component on click button
body: <p>I tried to create a chat in my application. Messages are stored in a server and I comunicate with it with an API. I tried to make it real time chat so I used <code>componentDidUpdate</code> <code>shouldComponentUpdate</code> method (<code>componentDidUpdate</code> and <code>componentwillupdate</code> too) but there is a warning that appears telling me that make my application very weak... in any case I can't do it like this.</p>
  
  <p>I want suggestions to be able to display the message when the user click on the send button and how can I have a notification of receipt of new messages</p>