Integration Issue with @tanstack/react-query in a Custom local Strapi Plugin

Thank you for your suggestion! I see the logic in not initializing a new queryClient with every render.

Could you possibly suggest a recommended location within custom plugin structure to initialize the queryClient put the QueryClientProvider?