Closed JosipVuk closed 2 years ago
Hey @JosipVuk thank you so much for opening this issue and with a reproducible error 🙌🏻 I was not aware that this was breaking in devtools, I'll try to debug and release a fix asap
@JosipVuk just a heads up, that v0.6.1 has been released with the fix
@lukemorales thx, I tried it out locally with the new version and I can confirm it works 🎊
Hey 👋 , first of all, thank you for creating this awesome lib 🙏 I have problems using it with @tanstack/react-query-devtools.
Here is an example from stack blitz, where you can reproduce the error: https://stackblitz.com/edit/nextjs-nsf8wi?file=pages/index.js
Steps to reproduce the error:
stringKey
query -> all works fine as this query key was not created with this libqueryFactoryKey
query -> whole UI breaks with throw errorTypeError: 'get' on proxy: property 'prototype' is a read-only and non-configurable data property on the proxy target but the proxy did not return its actual value (expected '[object Array]' but got '[object Array]')
For me (and probably many more devs) React Query Devtools are essential when using React Query, so this error is blocking me from using this awesome lib 😞