Commit
feat: Integrate TanStack Query for data fetching and state management
Commit details
Commit notes
This commit introduces TanStack Query to manage data fetching and caching for the library and sample functionalities. It includes the creation of query and mutation hooks for library samples, user authentication, and sample metadata updates. The frontend layout is updated to include the QueryClientProvider and Devtools for enhanced development experience. Additionally, the pnpm-lock.yaml is updated to include new dependencies for TanStack Query.
New files added: - Query client and keys management - Hooks for library and authentication queries - Sample mutation hooks for updating and deleting samples
Refactors existing components to utilize the new query system, improving data handling and UI responsiveness.
- Files changed
- 10
- Lines added
- +3,694
- Lines removed
- −4,212