useQuery Hook

In this lesson, we create a hook to handle queries.

We'll cover the following...

useQuery #

A query in our app is to filter ToDo items. This hook returns two functions, setQuery and getQuery

setQuery is a function to update query, while getQuery is a ...