MCPcopy Create free account
hub / github.com/TanStack/query / setPostId

Method setPostId

examples/lit/basic-graphql-request/src/post-list.ts:13–15  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

11 }
12
13 private setPostId(id: string) {
14 this.dispatchEvent(new CustomEvent('set-post-id', { detail: id }))
15 }
16
17 render() {
18 const queryClient = useQueryClient()

Callers 7

renderMethod · 0.95
PostsFunction · 0.45
PostFunction · 0.45
PostsFunction · 0.45
PostFunction · 0.45
PostsFunction · 0.45
PostFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected