This example demonstrates how to use React Query with debounced input to search for posts across all categories. The search input is debounced to prevent excessive API calls while typing.
React Query automatically manages the loading and error states, and caches the results for each search term to avoid unnecessary requests.