In this course section, we'll learn how to persist data with a NoSQL database. We'll use Google's Firebase, an app development platform that provides many services including NoSQL databases, authentication, and hosting.
We will cover the following concepts about NoSQL databases:
When working with Firebase, we'll use the following services and integrate them into the Help Queue project: * A Firestore database (a type of NoSQL database) * Authentication * Hosting
In this course section, we won't be using Redux to manage our application's state. Instead, we'll learn how to use React hooks! Hooks are tools that enable us to reuse stateful logic and to use state and lifecycle features in function components. While using hooks and using Redux is not mutually exclusive, we're going to focus on only using hooks to manage our React app's state and component lifecycle events by refactoring the Help Queue project. To that end, we'll provide a repo with a starter project.
We'll cover the following topics about hooks:
useState()
hookuseEffect()
hookAfter we learn how to use hooks, we will no longer use class components. That means we'll take the extra step of converting the Help Queue TicketControl
component into a function component that uses hooks to manage state and component lifecycle events. Thereafter, we'll start adding Firebase services to the Help Queue.
We'll also cover these additional topics:
You will not be expected to incorporate the concepts of this section into your independent project. Instead, your next independent project will be devoted to working on your capstone project. Your code will be reviewed for the following objectives:
You can preview the exact instructions and requirements for the React with NoSQL code review by reading the React with NoSQL Independent Project lesson at the end of this section.