MCPcopy Create free account
hub / github.com/TanStack/devtools / getNames

Function getNames

examples/react/start/src/routes/demo/start.api-request.tsx:6–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4import { emitRouteNavigation } from '../../devtools'
5
6function getNames() {
7 return fetch('/demo/api/names').then((res) => res.json() as Promise<string[]>)
8}
9
10export const Route = createFileRoute('/demo/start/api-request')({
11 component: Home,

Callers 1

HomeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected