Reference
Entry points
What each entry point exports, and the reference page that lists it.
Effetch Query is one package with five entry points, each a subpath you import from. Import only the ones you use: the core has no framework in it, and each framework entry needs only its own peer dependencies.
Each reference page lists every export of its entry point or namespace, grouped by the guide that covers it, with the first paragraph of its docs. Each export's type declarations carry its full documentation, with an example, so your editor's hover and "Go to Definition" show it too.
| Entry point | What it exports | Reference |
|---|---|---|
@monarcode/effetch-query | The core, with no framework in it: six namespaces, Register and QueryFailure. | @monarcode/effetch-query |
@monarcode/effetch-query/react | The provider, the hooks and the boundaries. | @monarcode/effetch-query/react |
@monarcode/effetch-query/effetch | fromClient, which turns Effetch endpoints into queries and mutations, and its types. | @monarcode/effetch-query/effetch |
@monarcode/effetch-query/react-native | reactNativeSignals, which builds a client's signals from React Native modules you pass in. | …/react-native |
@monarcode/effetch-query/react/tanstack-router | connectQueryClient, which connects a client to TanStack Router and TanStack Start. | …/react/tanstack-router |
The core entry point's namespaces each have a page:
| Namespace | What it has |
|---|---|
Query | Defining queries, keys and targets, and the cache from Effect. |
InfiniteQuery | Queries that load a list one page at a time. |
Mutation | Defining and running mutations. |
Entity | Records whose every cached copy a write updates. |
QueryClient | The client, its options and hooks, and server rendering. |
Signals | Where a client hears about focus and reconnects. |
For the limits of 0.1, see Limitations.