title: React Native Websocket handle message from another component
body: <p>I'm trying to build a messaging app. App logs in using user's credentials and starts a websocket connection and gets presence informations. What I wish to do is, when user is actively chatting to another and a presence status of some other user changes, user should able to see him go offline when he comes back to main component.</p>
  
  <p>Users are being listed in main component, and after clicking one item it navigates to chat component.</p>