Chapter 6. Integrating with the NYT API and Redux
With a solid background of Flux and Redux, it's time to apply these concepts to the RNNYT application we started in Chapter 4, Starting our Project with React Native Components. In this chapter, we'll apply Redux and related Redux technologies to a React Native application. We'll start off with a simple, synchronous implementation using mock NYT API data that flows through our application using Redux and some helper libraries. Later on in the chapter, we'll reconfigure our app to talk directly to the NYT API using the fetch API and Redux middleware to support a real-world, asynchronous flow.
In this chapter, we'll cover the following:
- Review how to make requests to the NYT API, and understand the shape of that data
- Install dependencies for using Redux with React Native
- Refactor our app to use Redux with mock NYT data and synchronous actions
- Implement selectors using Reselect
- Review Redux asynchronous data...