TanStackT
TanStackโ€ข3y agoโ€ข
14 replies
full-green

Manipulate a query's data in Devtools

Hi,

wondering: is there a way to manipulate the cached data for a given query from inside the Devtools?

e.g. I want to check my rendering with an empty list, a single item, multiple items or any other shape or form of special returns. Currently changing my mock-server to actually return the data differently. But that needs a restart and refetch etc.

Would be nice being able to change the data displayed inside the Data Explorer part of the devtools manually.

Thanks ๐Ÿ™‚
Was this page helpful?