- Added optimistic updates to high-priority playlist mutations: - useCreatePlaylist: Optimistically adds new playlist to list - useUpdatePlaylist: Optimistically updates playlist in cache and list - useDeletePlaylist: Optimistically removes playlist from list - useAddTrackToPlaylist: Optimistically adds track and updates count - All mutations include: - onMutate: Cancel queries, snapshot previous state, apply optimistic update - onError: Rollback to previous state - onSuccess: Invalidate queries for consistency - Action 4.4.1.5 in progress (high-priority mutations complete) |
||
|---|---|---|
| .. | ||
| web | ||