Connecting React to Redux and Firebase

In Chapter 3, Authentication with Firebase, we saw how React components can be built and how they manage their own state. In this chapter, we will take a look at how to efficiently manage the application state. We will explore Redux in detail and see how and when we need to use Redux in our React app. We will also see how we can integrate all three—React, Redux, and Firebase—with a sample seat booking application. It will be a general seat booking app, and it can be used as any seat booking, such as bus seat booking, a stadium seat booking, or a theater seat booking, with some minor changes in the data structure.

Here's a list of the topics we will cover in this chapter:

  • React setup with React Starter Kit
  • Integration of Firebase Realtime Database and React
  • Redux
  • Integration of React, Redux, and Firebase Realtime Database
  • Seat Booking Application covering all the above concepts practically

Let's set up our development environment.

To set up the React development environment, you will need to have node version 6.0 or greater.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset