next-fetcher
Version:
A nextjs typescript friendly utility for seamless data fetching.
7 lines (6 loc) • 356 B
TypeScript
import { createClientFetcher } from "./fetcher/createClientFetcher";
import { createServerFetcher } from "./fetcher/createServerFetcher";
import { Fetcher } from "./fetcher/fetcher-root";
import { addSession, deleteSession } from "./fetcher/session";
export { createClientFetcher, createServerFetcher, addSession, deleteSession };
export type { Fetcher };