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

Function Mounted

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

Source from the content-addressed store, hash-verified

149})
150
151function Mounted() {
152 const c = useContext(Context)
153 console.log(c)
154 return (
155 <p
156 onClick={() => {
157 c.setCount(c.count + 1)
158 }}
159 >
160 {c.count}
161 <hr />
162 </p>
163 )
164}
165
166function App() {
167 const [state, setState] = useState(1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected