MCPcopy
hub / github.com/facebook/react / handleClick

Function handleClick

packages/react-devtools-shell/src/app/InlineWarnings/index.js:179–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177export default function ErrorsAndWarnings(): React.Node {
178 const [count, setCount] = useState(0);
179 const handleClick = () => setCount(count + 1);
180 return (
181 <Fragment>
182 <h1>Inline warnings</h1>

Callers 1

List.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected