⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
import type { QueryClient } from "@tanstack/react-query";
import getTask from "@/fetchers/task/get-task";
const PREFETCH_FRESH_MS = 15_000;
export function prefetchTask(queryClient: QueryClient, taskId: string) {
return queryClient.prefetchQuery({
queryKey: ["task", taskId],
queryFn: () => getTask(taskId),
staleTime: PREFETCH_FRESH_MS,
});
}