Real-Time Twitter Streaming
The objectives of this chapter are to learn how we can implement Meteor's built-in real-time capabilities with one of the Twitter developer APIs--the streaming API. On the frontend side, in the earlier chapters, we managed the data flow with the react-meteor-data module, which reactively checked for any data changes and re-rendered our components. Updates on the collections updated the props and that forced the re-rendering of the components with the new data. We managed the state of the components with react's internal state, which is fine in certain cases. When your application grows and the user interactions are becoming more and more complex, managing state between components becomes very difficult and prone ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access