Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Build Applications with Meteor

You're reading from   Build Applications with Meteor Isomorphic JavaScript web development

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781787129887
Length 388 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Dobrin Ganev Dobrin Ganev
Author Profile Icon Dobrin Ganev
Dobrin Ganev
Arrow right icon
View More author details
Toc

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 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime