Skip to Content
Effetch Query

Examples

Complete apps that use Effetch Query, on GitHub.

The examples/ folder has complete programs, typechecked with the package. effect-only and the full apps are also tested, in test/examples/. There are five:

  • effect-only.ts: queries, a live query, the cache and mutations from Effect code, with no UI.
  • basic/: the smallest React app, with dummyjson.com's todos and an optimistic toggle.
  • tanstack-start/: a full TanStack Start app on Effetch endpoints: sign-in, a user's todos, a list with "Load more", a streamed detail page and a missing one.
  • tanstack-start-httpclient/: the same app on Effect's HttpClient, without Effetch.
  • react-router/: the same app in React Router's framework mode, on Effetch endpoints.

The examples README walks through each one.