Overview
Ferry Store is the default state management solution for the Ferry GraphQL client, designed to efficiently manage and cache GraphQL query results across Flutter applications. It integrates seamlessly with Ferry to provide a reactive, type-safe store that synchronizes data with the server, supports optimistic updates, and handles subscriptions. Built for performance and developer experience, it simplifies state handling in GraphQL-powered apps by reducing boilerplate and ensuring consistency across platforms.
Use cases
- Managing cached GraphQL query results
- Handling real-time updates via subscriptions
- Optimistic UI updates
- Cross-platform GraphQL state management
- Synchronizing local state with server data
Key features
- Built-in caching layer
- Type-safe state management
- Supports optimistic updates
- Real-time subscription handling
- Seamless integration with Ferry client
Suitable for
- Flutter apps using Ferry GraphQL client
- Apps requiring efficient data synchronization
- Developers seeking minimal boilerplate for GraphQL state
- Projects targeting multiple platforms
- Teams prioritizing reactive UI patterns
Considerations
- Requires Ferry GraphQL client
- Limited standalone use outside Ferry ecosystem
- May require learning Ferry-specific patterns
- Not suitable for non-GraphQL state management
- Best paired with Ferry's generated code