Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ submit
Method
submit
examples/lit/basic/src/mutation.ts:76–81 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
74
}
75
76
private submit(): void {
77
const
title = this.nextTitle.trim()
78
if
(!title)
return
79
this.addTodo.mutate(title)
80
this.nextTitle =
''
81
}
82
83
render() {
84
const
query = this.todos()
Callers
1
Devtools.test.tsx
File · 0.45
Calls
1
mutate
Method · 0.45
Tested by
no test coverage detected