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 to bugs and unexpected behavior. In this chapter, we will introduce a library, called Redux, to manage the applications' state.
Here's what this chapter...