When I’m exploring an unfamiliar codebase I start with one of its public APIs. In this case, it was useQuery, arguably the most widely used React-Query function. As I followed its execution path I learned a lot. React-Query has a very simple API that hides a lot of complexity underneath.
Full article