MCPcopy Create free account
hub / github.com/RobPruzan/react-scratch / AnotherLevel

Function AnotherLevel

src/script.ts:165–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163 );
164};
165export const AnotherLevel = () => {
166 return React.createElement(
167 "div",
168 null,
169
170 React.createElement(Increment, null),
171 React.createElement(Increment, null)
172 );
173};
174export const Increment = () => {
175 const [x, setX] = React.useState(2);
176 console.log("re-running and reading", x);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected