useQuery Hook
In this lesson, we create a hook to handle queries.
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 ...
In this lesson, we create a hook to handle queries.
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 ...