🚀 React Query Playground - Open Source!

React Query Logo

A POC to help discuss "React Query invalidation" with colleagues turned into a super useful playground! 😄

In short, it’s an interactive space to explore React Query features with hands-on examples. I’m talking refetching strategies, suspense mode, pagination, invalidation, testing... and the best part? No need to set up sandboxes or anything like that!

It’s open source and super easy to run locally:

git clone https://github.com/cassiorsfreitas/react-query-playground.git  
cd react-query-playground  
npm install  
npm start  

It is highly recommended to explore the examples with the TanStack DevTools enabled. This will give you deeper insights into what's happening under the hood, such as query states, cache updates, and background refetching, making it easier to understand how React Query works in practice.

I’d love for you to check it out, and if you have any ideas or improvements, feel free to contribute!

Prod: https://react-query-playground.cassiorsfreitas.com/ Repo: https://github.com/cassiorsfreitas/react-query-playground