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

Function Mounted

examples/react/basic/src/index.tsx:151–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149queryPlugin.on('test', (event) => {
150 console.log('Received test event:', event)
151})
152
153function Mounted() {
154 const c = useContext(Context)
155 console.log(c)
156 return (
157 <p
158 onClick={() => {
159 c.setCount(c.count + 1)
160 }}
161 >
162 {c.count}
163 <hr />
164 </p>
165 )
166}
167

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected