MCPcopy
hub / github.com/TanStack/router / PostsComponent

Function PostsComponent

packages/solid-router/tests/link.test.tsx:1073–1081  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1071 })
1072
1073 const PostsComponent = () => {
1074 const search = useSearch({ strict: false })
1075 return (
1076 <>
1077 <h1>Posts</h1>
1078 <span>Page: {search().page}</span>
1079 </>
1080 )
1081 }
1082
1083 const postsRoute = createRoute({
1084 getParentRoute: () => rootRoute,

Callers

nothing calls this directly

Calls 5

useSearchFunction · 0.90
useLoaderDataFunction · 0.90
useRouteContextFunction · 0.90
dataFunction · 0.50
loaderFunction · 0.50

Tested by

no test coverage detected