docs: deprecate callbacks on useQuery#5407
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
|
|
70c21cf to
2c66536
Compare
useQueryuseQuery
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
|
@NMinhNguyen @TkDodo Can I ask what the reason for deprecating these callbacks is? And if they'll be replaced with something else/what you recommend using instead? |
This should hopefully answer your question: https://tkdodo.eu/blog/breaking-react-querys-api-on-purpose |
See #5353 (comment)