You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* wip: docs
* remove 05-patterns as it is not correct
* move docs
* clean up wallet adpater compat provider
* docs(changeset): Remove debug logs from wallet-adapter-compat
* more docs updates, clean up code
A comprehensive toolkit for building Solana applications with React, featuring automatic account batchingand caching.
5
+
A comprehensive toolkit for building Solana applications with React, featuring automatic account batching, type-safe account decoding, and seamless transaction management. Built on top of [gill](https://github.com/DecalLabs/gill) and [@solana/kit](https://github.com/anza-xyz/kit).
6
6
7
7
## Packages
8
8
@@ -38,25 +38,35 @@ bun add @macalinao/dataloader-es
Traditional Solana development suffers from the N+1 query problem. Every component that needs account data makes its own RPC request. Grill solves this with automatic batching using the DataLoader pattern from GraphQL.
-🔄 **Automatic cache management** with React Query
155
+
-🎨 **Beautiful transaction UX** with toast notifications
156
+
-🏗️ **Incremental migration** - works alongside existing code
157
+
- 📦 **Modern stack** - Built on @solana/kit and gill
98
158
99
-
## Architecture
159
+
## Documentation
100
160
101
-
Grill provides a `GrillProvider` that creates a DataLoader for batching account requests. When multiple components request account data simultaneously, Grill automatically batches these requests into a single RPC call, significantly improving performance.
161
+
Check out the comprehensive guides in [`docs/grill/`](./docs/grill/):
102
162
103
-
The `useAccount` hook integrates with React Query to provide:
104
-
- Automatic caching with configurable stale times
105
-
- Background refetching
106
-
- Loading and error states
107
-
- Manual refetch capabilities
163
+
1.[**Introduction**](./docs/grill/01-intro.md) - Why Grill and the core concepts
164
+
2.[**Setup & Migration**](./docs/grill/02-setup.md) - Installation and incremental migration
165
+
3.[**Reading Accounts**](./docs/grill/03-accounts.md) - Efficient account fetching with batching
0 commit comments