MCPcopy Create free account
hub / github.com/CodeWithHarry/Sigma-Web-Dev-Course / handleChange

Function handleChange

Video 112/src/App.jsx:19–23  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

17 }
18
19 const handleChange = (e) => {
20 // setName(e.target.value)
21 setForm({...form, [e.target.name]:e.target.value})
22 console.log(form)
23 }
24
25 return (
26 <>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected