Cashay is a GraphQL client library that integrates with Redux, positioning itself as a simpler alternative to Relay and Apollo. It uses your GraphQL client schema, supports local transforms (sort, filter), and generates mutations automatically. The current stable version is 0.24.0, with a release cadence that appears infrequent (last release likely older). Key differentiators include deep Redux integration, denormalized caching, and support for subscriptions and local state, though it lacks query batching and built-in SSR. It requires a webpack loader for schema integration and is suitable for projects already using Redux.
npm install cashayNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a Redux store with cashayReducer, initialize the cashay singleton with a schema, and run a simple query.
Ensure the reducer is combined under the key 'cashay' as shown in docs
Export a function from the schema module as described
Consider using Apollo or Relay for active support
Stick to simple query and mutation patterns
Call cashay.create({ store, schema: yourSchema })Combine reducers with cashay: cashayReducer
Use require('cashay!./path/to/schema') syntax and ensure webpack resolves cashay-loader