React in 30 minutes
Description: In this video you will learn the basics of React in 30 minutes. This video tutorial will cover many React basic concepts. Here is an outline of the topics that we will cover:
- Installing React
- Rendering React
- JSX
- Components
- useState & State
- useRef
- Props
- Loops
- useEffect
Throughout this tutorial we will also create a simple counter component and then we will create a full Todo application. This application will allow the user to add tasks, mark the tasks as completed, and clear the tasks. We'll also be using localStorage so that way when the user reloads the page all the current tasks are still in the list.
Here is the Github repo for the code that we covered in this video: https://github.com/tnylea/react-in-30-minutes
Thanks for watching and be sure to check out the documentation on the React website (https://react.dev/) to learn even more about this framework.
00:00 - Introduction
2:02 - Installing React
03:55 - Rendering React and JSX
05:46 - Components and Counter Component
07:13 - useState and Count Value
09:05 - The Todo App UI
09:57 - Moving Todo UI to our App Component
10:42 - Adding Todos
12:57 - Displaying the Todo items
13:13 - Props
13:47 - Loops
14:25 - useRef and capturing text value
15:56 - onKeyDown, add todo with Enter Key
16:51 - Keys in Lists
17:16 - Abstracting Todo into it's own Component
18:33 - Adding Checkbox to Todo item
19:05 - onChange event
19:18 - Toggle Todo Functionality
20:25 - Refactoring handleAddTodo and toggleTodo
22:06 - Clear the completed Todo items
23:15 - useEffect and storing Todos in localStorage
25:39 - Conclusion and Summary Close description
- Installing React
- Rendering React
- JSX
- Components
- useState & State
- useRef
- Props
- Loops
- useEffect
Throughout this tutorial we will also create a simple counter component and then we will create a full Todo application. This application will allow the user to add tasks, mark the tasks as completed, and clear the tasks. We'll also be using localStorage so that way when the user reloads the page all the current tasks are still in the list.
Here is the Github repo for the code that we covered in this video: https://github.com/tnylea/react-in-30-minutes
Thanks for watching and be sure to check out the documentation on the React website (https://react.dev/) to learn even more about this framework.
00:00 - Introduction
2:02 - Installing React
03:55 - Rendering React and JSX
05:46 - Components and Counter Component
07:13 - useState and Count Value
09:05 - The Todo App UI
09:57 - Moving Todo UI to our App Component
10:42 - Adding Todos
12:57 - Displaying the Todo items
13:13 - Props
13:47 - Loops
14:25 - useRef and capturing text value
15:56 - onKeyDown, add todo with Enter Key
16:51 - Keys in Lists
17:16 - Abstracting Todo into it's own Component
18:33 - Adding Checkbox to Todo item
19:05 - onChange event
19:18 - Toggle Todo Functionality
20:25 - Refactoring handleAddTodo and toggleTodo
22:06 - Clear the completed Todo items
23:15 - useEffect and storing Todos in localStorage
25:39 - Conclusion and Summary Close description
