Course Overview
Important note: This course was made in 2017 when classes were the primary model for React and ES6 was new. Since then, the model has changed substantially to focus on functional programming (hooks). Smaller, but important changes like using next.js, redux-tool-kit, etc. have also gotten traction. I do cover hooks in both React and Redux (react-redux module), but the course is focused around the older model. It still works, it's just "outdated" as current React goes. Please be aware of that if you are new, and if you prefer a class based model, then this might be exactly what you are looking for.
This course:
Starting with Angular 1 in 2010, JavaScript frameworks exploded onto the scene and are required by virtually every large website on the Internet. React, which appeared a few years later in 2013 has become the dominant tool in that group. What does that mean for you? You can learn to use the same front-end framework used by Facebook, Amazon, Netflix, BBC, Airbnb, and Ebay, to name a few. And you won't just learn how to use it, but you'll learn the fundamentals around it.
TL;DR - React is awesome. I've been teaching it professionally for 8 years and love it. Learn it here!
What I need from you:
I need you to know JavaScript, CSS, and HTML.
It's not required to use React, but React makes very heavy use of ES6 (the 2015 update to JavaScript), so the course will use ES6 after the first main section. I will briefly mention how it works as needed, and add a supplemental section that covers those parts.
I need you know how to navigate your computer, not be afraid of the terminal, and ask questions as you have them!
Why me:
I first used React in 2014 for a small company website. I've also used Angular, Vue, and Ember along with most other major UI frameworks and I'm a believer in React. I've taught it professionally for 4 years, and have built sites for some of the largest companies in the United States using React Router and redux alongside. I will teach you one step at a time, whiteboard, and start from ground zero before getting to webpack and eventually Redux. Prepare to start learning the best JavaScript framework!
The sections in bold will be finished no later than August 15. I will send out a message when they are complete.
Sections:
Environment Setup (skip if you have node installed already)
React 101
State and Events
The Component Lifecycle and HTTP
Project 1 - Flash Card app (AWS services)
React Router
Redux
Redux Middleware (redux-promise and redux-thunk)
AirBnB Clone with Redux
Overview of Auth From a Front-end Perspective
Building/Preparing React for Deployment
Hooks - the "2020 way" to do React
Context
Supplemental - ES6 for React
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction and housekeeping 4 bài · 16 phút
- Github repo, course layout, and how to get help Học thử
- Installing Nodejs and VSCode - MAC (Skip if you have it) Học thử 8:38
- Installing Nodejs on a PC (Skip if you have) Học thử 4:46
-
Using Visual Studio Code on a PC (Skip if you have) 2:21
Chương 2 React 101 18 bài · 2 giờ 26 phút
-
Introduction - early course layout - and github repo 2:36
-
Optional - A brief history of JS and why we need React 11:51
- How we'll use Express in this section Học thử 4:51
-
REQUIRED - Making a basic Express server for development 3:11
-
Your First React Program 5:46
-
Uhh, What Just Happend? 7:25
-
JSX & Babel 17:41
- ReactDom.render() and the virtual DOM Học thử 5:38
- Components Học thử 8:11
-
Props 10:40
- PRACTICE! - Using Components and Props Học thử 6:52
-
Multiple Components in an Array 6:10
-
Components as Classes 9:29
-
PRACTICE! - Class, Array. and Components 13:20
-
LoremPixel Repalcement
-
Breaking Down Components - Part 1 8:05
-
Breaking Down Components - Part 2 12:07
-
Section Review 12:14
Chương 3 State and Events 14 bài · 1 giờ 56 phút
-
Vite - The Modern Way To Do React 15:34
-
Create React App - making development easier 3:35
-
What is state? (no coding) 12:01
-
State in Action 10:26
-
State do's and don'ts 7:29
-
Events in React 11:00
-
Available events 1:38
-
Changing state with an event 10:30
-
Practicing with state 2:21
-
Practicing with state - walkthrough 9:31
-
Updated Image URLs
-
State and props together 19:14
-
Stateless Components vs. Stateful Components 8:27
-
Stateless vs Stateful example 4:36
Chương 4 The Component Lifecycle and HTTP 18 bài · 2 giờ 8 phút
-
Section Intro 4:16
-
Getting started with axios & HTTP 4:11
-
Axios URL
-
Using Axios and a free api (openweathermap.org) 3:31
-
The Component Lifecycle 13:28
-
The Docs 4:37
-
The Lifecycle - componentDidMount() 7:32
-
The Lifecycle - render() 2:32
-
More practice with render, state, and http 7:53
-
Adding an input box 6:07
-
The Lifecycle - componentDidUpdate() 12:58
-
Practice - Refactoring the weather widget 10:46
-
The Lifecycle - componentWillUnmount() 5:37
-
The plan for the next few videos 1:13
-
Managing forms with State 12:32
-
Data flows down, so pass state up! Part 1 8:27
-
Data flows down, so pass state up! Part 2 15:26
-
Styling components 6:28
Chương 5 Project - AWS flash cards - Practice with state and component lifecycle 11 bài · 1 giờ 10 phút
-
Project Demo 2:23
-
Setting up our app structure 4:55
-
QuizBar and FontAwesome glyphicons 8:27
-
QuizType - a component inside QuizBar 10:36
-
Cleaning up QuizBar 3:31
-
IMPORTANT: A fix for the next video
-
Flash Card Component 9:40
-
Getting our data with Axios 9:54
-
Adding a spinner 4:25
-
Adding Flash Card Component Logic 7:32
-
Moving State up one last time 8:23
Chương 6 React Router 12 bài · 1 giờ 30 phút
-
IMPORTANT: React Router v6 update
-
Intro to React Rrouter 6:10
-
Router, Route, and Link 10:49
-
NavLink and Making a NavBar 10:08
-
Routes with Component vs. Render 3:54
-
Nested Routes 6:52
-
Router Component Props - history, location, and match 12:33
-
Dynamic URL's and URL params & Short Review 8:50
-
Endpoint for next lecture
-
Mini-Project - Movie Fan App 14:04
-
Mini-Project - Continued 8:33
-
Mini-Project - Finished 7:44
Chương 7 Redux 13 bài · 2 giờ 30 phút
-
What is Redux? 8:40
-
Redux and React 12:03
-
How Redux works 8:10
-
Wiring Up Redux 15:43
-
CONNECTing Redux and React 17:44
-
Adding more reducers to our store 8:43
-
Adding an action creator and action 13:29
-
Adding the dispatcher 18:47
-
Adding Meat and Produce 12:17
-
STOP: REVIEW 9:03
-
Adding the Router 7:23
-
Getting a little more out of redux 9:09
-
Getting a little more out of redux - an action 8:39
Chương 8 Redux Middleware - async action creators! 5 bài · 42 phút
-
Section Intro 1:35
-
Quick review of reducers, actions and action creators 9:24
-
Trying axios/http without middleware (overview of codebase) 12:27
-
Redux-promise 5:24
-
Redux-thunk 13:27
Chương 9 Project - Airbnb Clone 25 bài · 3 giờ 11 phút
-
Project Intro & Demo 3:33
-
Thinking through our app structure 7:11
-
Create React App and folder setup 2:41
-
Index.js & Redux 5:31
-
App.js & React Router 2:51
-
Overview of the api 5:16
-
NavBar Component 10:31
-
Home - SearchBox (mostly markup and css) 18:06
-
City, Slider, & Spinner components 12:47
-
Font Awesome URL's
-
Make the Spinner component 3:46
-
Add Cities to the homepage (with some refactoring) 11:00
-
Add the Slider and put the cities inside 12:58
-
Refactor Home - Part 1 6:56
-
Refactor Home - Part 2 - Promise.all() 7:06
-
Build Activties 8:23
-
Finish Activity component 11:45
-
Houses assignment 1:33
-
Single City Component 12:09
-
Single City Component - Part 2 11:00
-
Single City Component - Part 3 7:15
-
Login, Registration, & Modal 1:41
-
The return of REDUX!! Build the Modal 17:35
-
Filling in the Modal content 9:35
-
We'll pick up on Airbnb after a short section on auth!
Chương 10 A front-end overview of authentication 5 bài · 31 phút
-
Auth - intro 2:01
-
What is HTTP and what does it have to do with auth? 8:30
-
An actual HTTP message 5:17
-
The problem with HTTP and Auth 8:45
-
How a JWT works 6:09
Chương 11 Project - Airbnb Clone Continued 36 bài · 3 giờ 51 phút
-
SignUp Component Refactor 13:31
-
Login Component Refactor 7:28
-
Login and Signup endpoints 2:54
-
Getting our JWT (JSON Web Token) 8:30
-
Getting feedback to the user 7:16
-
Auth and redux 10:20
-
Updating components on signup/login 7:47
-
Logout 4:25
-
Login Challenge 4:17
-
Redux Persist (middleware) - keep redux (and login) from resetting! 9:26
-
Redux Persist - Part 2 7:36
-
Remaining Project Goals 2:52
-
SingleCity, many Venues component 12:46
-
Displaying reserve a room 10:35
-
Momentjs & Validate Reserve Dates 10:06
-
Stripe Key
-
Adding an external Script file to a component 13:08
-
An annoying bug fix 0:42
-
Integration with Stripe 13:46
-
Setup payment success page and & component 3:33
-
Payment Success Structure (markup) 4:40
-
Payment Success Data 7:29
-
Payment Success Finishing Options 1:52
-
Markup without data for Payment Success
-
Markup with data for Payment Success
-
Note: Reservations and Users
-
Account Page Prep 4:32
-
Account Page Prep Instructions
-
Account Page Review 2:50
-
AccountSideBar and Page Routes 6:03
-
Fetch and sort data, and pass to Bookings 11:20
-
Booking Markup 9:19
-
Cancel a reservation 10:33
-
Search Box 7:56
-
Search Page 7:42
-
Building our app (or any React app) 5:41
Chương 12 Deploying a React App 7 bài · 46 phút
-
Intro & npm run build 6:43
-
A tour of the build folder 3:28
-
Building at the root domain 4:33
-
Loading Production... Locally 3:36
-
The homepage property 10:11
-
React.lazy 9:03
-
React.Suspense 8:45
Chương 13 Before we talk about Hooks... 8 bài · 1 giờ 7 phút
-
Section Intro 1:49
-
An intro to hooks and should you use them? 11:39
-
Using React to explain OOP and functional programming - BACKGROUND 12:35
-
Paradigm Chart 4:47
-
Paradigm 1 - Imperative & Procedural 8:53
-
Paradigm 2 - Imperative & OOP 3:51
-
Paradigm 3 - Procedural & Functional 16:26
-
Paradigm 4 - OOP & Functional 7:20
Chương 14 Hooks 19 bài · 2 giờ 9 phút
-
Back to Hooks 8:23
-
The return of the weather widget! 13:41
-
UseEffect 9:16
-
UseEffect explained 8:32
-
The docs - componentWillUnmount & multiple useEffect 9:40
-
Refactoring a class - weatherAppHooks 4:20
-
New Project Clone 4:33
-
Refactor the Search component 7:04
-
The Rules of Hooks 6:19
-
Custom Hooks 8:47
-
The structure of a custom hook 10:38
-
Redux with Hooks 4:53
-
Getting ready for redux - refactor Account 5:25
-
Using redux with hooks - useSelector 7:04
-
Using redux with hooks - useDispatch 2:20
-
UseDispatch in Action - Login 9:27
-
UseStore hook 1:38
-
All 4 hooks! NavBar 6:47
-
Challenge - Refactoring remainder of AirBnB
Chương 15 Context 8 bài · 44 phút
-
What is context? 4:59
-
Making a context 9:53
-
Context Provider 9:11
-
Context Consumer 4:21
-
Changing Context down stream 5:07
-
Short Review of What Context Is 1:09
-
Context with classes 6:18
-
I’ve heard it replaces Redux. Does it? 3:21
Chương 16 Supplemental 10 bài · 48 phút
-
Intro to section 1:01
-
Let & Const 5:35
-
Template Literals 4:06
-
Object Literals 3:23
-
Destructuring and Spread 8:01
-
Rocket Functions 6:57
-
Classes - constructor/prototype review (the original way) 4:57
-
Classes and sub classes - the 2015 version of a constructor 6:21
-
Overriding methods in child classes 3:55
-
How we'll use classes in this course 3:22
Requirment
-
Familiarity with JavaScript. I don't expect you to be a JS jedi, but you should not be new
Outcomes
-
How to use React to make awesome front-end UIs!
-
How to set up, navigate, and use create-react-app to build React applications with ease
-
How to use React without webpack or ES6
-
The React component lifecycle system
-
Have a good idea how to make a large project (we do a small clone of AirBnB)
0 Student
1 Course
0 review