소개
This skill optimizes the development of Medusa-powered storefronts by enforcing best practices for the Medusa SDK and React Query integration. It ensures developers avoid common pitfalls such as improper JSON serialization in API calls, provides hierarchical query key patterns for efficient caching, and streamlines the implementation of complex features like optimistic updates and robust error handling. It is essential for any developer building or maintaining a frontend connected to a Medusa backend, offering specific guidance on calling custom routes and managing state effectively.