Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
render
Method · 0.95
Posts
Function · 0.45
Post
Function · 0.45
Posts
Function · 0.45
Post
Function · 0.45
Posts
Function · 0.45
Post
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected