TodoItem Component

In this lesson, we create a TodoItem component that displays one item in the list.

We'll cover the following...

TodoItem #

We create a TodoItem component, based on several hooks we created: useQuery, useDeleteTodo, useToggleTodo, and useFlasher

import React from 'react';

import { useDispatch, useTrackedState } from './store';
import { useFlasher } from
...