Commit
Refactor components to utilize React Query for data fetching
Commit details
Commit notes
- Updated various components including `StepSequencerInner`, `SimpleUploadButton`, `TracksList`, and `PatternManager` to leverage React Query for API interactions, enhancing data management and state synchronization. - Replaced direct API calls with corresponding mutation hooks for operations such as creating, updating, and deleting patterns, uploads, and share links. - Improved error handling and loading states across components, ensuring a more robust user experience. - Streamlined the codebase by removing redundant API calls and utilizing centralized query functions.
This commit aims to enhance the maintainability and performance of the application by adopting a more consistent approach to data fetching and state management.
- Files changed
- 16
- Lines added
- +598
- Lines removed
- −427