TodoItem Component

In this lesson, we create a component to show one ToDo item.

We'll cover the following...

TodoItem #

Based on several hooks we created, we can now create the TodoItem component.

// ./components/TodoItem.js

import React from 'react';

import { useQuery } from '../hooks/useQuery';
import { useDeleteTodo }
...