Installation
Choose Your Integration
Section titled “Choose Your Integration”Install the package that matches your data-fetching library. You do not need to install @chimeric/core separately — it is included as a dependency.
For Sync, Async, and EagerAsync only
Section titled “For Sync, Async, and EagerAsync only”If you only need ChimericSync, ChimericAsync, or ChimericEagerAsync (no queries, mutations, or caching):
npm install @chimeric/reactpnpm add @chimeric/reactyarn add @chimeric/reactTanStack React Query
Section titled “TanStack React Query”For queries, mutations, infinite queries, and reducers backed by TanStack Query:
npm install @chimeric/react-query @tanstack/react-querypnpm add @chimeric/react-query @tanstack/react-queryyarn add @chimeric/react-query @tanstack/react-queryRTK Query
Section titled “RTK Query”For queries, mutations, infinite queries, and reducers backed by Redux Toolkit Query:
npm install @chimeric/rtk-query @reduxjs/toolkit react-reduxpnpm add @chimeric/rtk-query @reduxjs/toolkit react-reduxyarn add @chimeric/rtk-query @reduxjs/toolkit react-reduxPeer Dependencies
Section titled “Peer Dependencies”- @chimeric/react-query requires
@tanstack/react-queryv5+ - @chimeric/rtk-query requires
@reduxjs/toolkitv2+ andreact-reduxv9+ - All packages require React 18+