CRUD Flashcards

1
Q

CRUD

A

C - Create (AddTask, AddTodolist)
R - Read (map)
U - Update (checkBox, Input)
D - Delete (RemoveTask, RemoveTodolist)

Create
const [title, setTitle] = useState(‘ ‘)
Update
const [title, setTitle] = useState(‘Old Title ‘)
Old Title - значение, которое мы хотим поменять (берем из глобального state)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly