strapi-plugin-comments icon indicating copy to clipboard operation
strapi-plugin-comments copied to clipboard

Question about react query

Open ayhid opened this issue 2 years ago • 1 comments

While scanning the code, I have been unable to identify where you are using QueryClientProvider, which is a crucial component in React Query.

Without this, React Query hooks will not be able to function properly, as they rely on the context provided by the QueryClientProvider to access the query client.

Could you please provide some more insights on how you are using React Query without a QueryClientProvider in your current code? This could help me better understand how the plugin works.

Actually I use it as an exemple of best practices to develop my own plugins.

Thank a lot

ayhid avatar Jul 31 '23 15:07 ayhid

any suggestions on this ?

ayhid avatar Sep 18 '23 07:09 ayhid