A way to simplifies optimistic updates in React Query
npm install tanstack-query-optimistic-updatesA simple way to apply optimistic updates with TanStack Query.
- ✨ Seamless: Complete compatibility layer to seamlessly replace useMutation
- ⚡ Lightweight: Zero external dependencies for minimal bundle size
- 📦 Dual Package Support: Built for both ESM and CJS to optimize tree shaking
- 🛡️ Type Safety: Complete typed API with comprehensive type definitions
We welcome contribution from everyone. Read below for contributing guidelines.
See LICENSE for details.