From the course: TanStack Query: Efficient Data Fetching and State Management
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Setting up developer tools - TanStack Query Tutorial
From the course: TanStack Query: Efficient Data Fetching and State Management
Setting up developer tools
- [Instructor] Now that we have an understanding of how we can start to log some of this data, we're understanding the caching mechanism that's happening, I feel remiss if I don't show you how you can install the React Query developer tools because this is a pretty manual process, including clicking on that button to see the current state of the cache. So let's delete that and import something else, specifically the React query dev tools and let's make sure that we get that spelling correct. I'm saying that aloud, mostly for myself, because everything is coming from React Query dev tools, so, that's the spelling here. Sometimes I like to try to make dev tools two words and I get burned, but not today. Today we're going to do it right. And as part of doing it right, let's also install Tans Stack slash reactquery-devtools. Okay, so from here that should be that installation. Then we're actually going to use this down here in the app. Let's get rid of this logging Cache data button…