TanStackT
TanStack4y ago
3 replies
colossal-harlequin

useQuery with onSubmit

How would I use useQuery in a search page? I have a page with some search fields & when user submits this form a search is made. And I would like to useQuery to work with this because it is also possible to change the items found. Currently if I change the items these changes are not shown unless I re-run the search.
Was this page helpful?