Skip to content

mugglim/tanstack-query-optimistic-updates

Repository files navigation

tanstack-query-optimistic-updates · LICENSE version

A simple way to apply optimistic updates with TanStack Query.

Visit tanstack-query-optimistic-updates for docs and guides!

Features

  • ✨ 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

Contributing

We welcome contribution from everyone. Read below for contributing guidelines.

CONTRIBUTING

License

See LICENSE for details.