Todo App bootcamp assignment - React/Part 4b

Описание к видео Todo App bootcamp assignment - React/Part 4b

This was an assignment shared with me by a student going through a developer bootcamp. It has some interesting "asks" that make it an interesting challenge.

In this video, we finish the UI side using React. We also dig in to making things a touch easier with a Context. In the end, we finish with an ugly, yet fully functional app.

00:00 - Intro
01:30 - Refactor to use Context
09:24 - Add TodoContext Provider to app
10:48 - Use TodoContext in root component
12:26 - Use TodoContext in TodoList
14:23 - Use TodoContext in TodoItem
15:10 - Create AddTodo component
20:25 - Add form submit handler
21:32 - Get form data
25:29 - Clear the input on submit
26:51 - Check for empty input
28:11 - Add "empty list" state
30:04 - Wrapping up

Комментарии

Информация по комментариям в разработке