Chapter 6. Using Your React Components with Another Library

React is a great library for building user interfaces. What if we want to integrate it with another library that is responsible for receiving data? In the previous chapter, we outlined five tasks that our Snapterest web application should be able to perform. We decided that four of them were related to the user interface, but one of them was all about receiving data: receiving tweets from the Snapkite Engine server in real time.

In this chapter, you'll learn how to integrate React with the external JavaScript library and what React component lifecycle methods are, all while solving the important task of receiving data.

Using another library in your React component

As we discussed earlier ...

Get React 16 Essentials - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.