Logic for Modifying Tasks
Finalize the task completion by testing and implementing relevant logic in React
We'll cover the following...
Where we left off
In the previous exercise, we made the Task component forward user input to a callback function. Now, we will do the same for TaskList.
If you recall, we currently store tasks in state of the App component:
const [tasks, setTasks] = useState([]);
const handleNewTask = (task) => setTasks([...tasks, task]);
New handler functions
Do you notice ...
Ask