Skip to main content
00:00/00:00
Lecture 23 of 62

Set up a Provider component to encapsulate the application logic

Download Course (Free)

Course Content

0 / 62 completed
Section 1: Introduction1 videos

Build a stellar single-page application with React

2m
Section 2: Getting Started and Setting Up4 videos

The React CLI and the React Developer Tools

8m

What you should know

2m

Project overview

4m

The tools and the exercise files

3m
Section 3: Start a New React Project6 videos

Add Bootstrap 5 to your single-page application

8m

Build the UI and create reusable components

8m

Build a responsive layout with Bootstrap 5

9m

Pass props to child components

4m

Challenge Thinking in React

1m

Solution Breaking up the UI

8m
Section 4: From Stateless to Stateful React Components9 videos

Introduction to Hooks API Reference

4m

Learn event handling and updating the state

7m

Handle conditional rendering

6m

Work with forms

8m

Validate and submit forms useMemo

11m

Submit the form and apply side effects useEffect

11m

Handle complex logic with useReducer

11m

Compose and update the UI

11m

Create and dispatch actions

10m
Section 5: Manage the State of Your App with the Context API4 videos

Create a context object

4m

Challenge Manage a global state

6m

Set up a Provider component to encapsulate the application logic

7mNow Playing

Solution Allow components to subscribe to context changes

10m
Section 6: Add Firebase to Your React Project3 videos

Create a new project and a new application

4m

Introduction to the Firebase Google console

3m

Install the Firebase services SDK

6m
Section 7: Create and Connect to a Database (Firestore)6 videos

Get started with the Cloud Firestore

5m

Learn to add and manage data

7m

Set a new document and store and sync data into the Cloud Firestore

8m

Learn to read data from a collection

9m

Define React environment variables

5m

Get documents and display them in the app

7m
Section 8: Create a Bucket to Store Images (Cloud Storage)6 videos

Get started with Cloud Storage on the web

5m

Define an async function to send a file to storage

8m

Upload a file to the storage

5m

Set documents with images Update the UI

7m

Download a file URL from storage

10m

Set documents with images Set the date

6m
Section 9: Authenticate and Manage Users (Firebase Auth)8 videos

Start with Firebase Authentication and select the provider

4m

Google Cloud Platform Create new credentials

4m

Manage the state with the Context API Component Provider

7m

Manage the state with the Context API Custom hook

9m

Subscribe components to the context changes User connected

9m

Authenticate and manage users from the application

9m

Create new documents with the user connected

9m

Secure your data in Cloud Firestore and Cloud Storage

7m
Section 10: Client-Side Routing with React-Router V69 videos

Configure the routes and create a navigation component

4m

Use Link component to navigate between pages

7m

Install React router DOM v6

4m

Allow navigation between multiple views

8m

Conditional rendering and protected route

7m

Use the React router hooks useNavigate

7m

Use the React router hooks useLocation

7m

Create the routes for NotFound and Profile

8m

Display the active link

5m
Section 11: Filtering, Searching, and Learning to Debug3 videos

Implement a search and filter function

5m

Subscribe to the context changes and apply side effects in the UI

4m

Create a new action to return filtered results

7m
Section 12: Conclusion1 videos

Last words and next steps

1m
Section 13: Deploy Your React App (Firebase Hosting)2 videos

Create a production build and deploy your site to the cloud

7m

Install the Firebase CLI and initialize a new project

7m