Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/react-hook-form/react-hook-form
/ onInvalid
Function
onInvalid
app/src/basic.tsx:39–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
});
38
const [onInvalidCalledTimes, setOnInvalidCalledTimes] = useState(0);
39
const onInvalid = () => setOnInvalidCalledTimes((prevCount) => prevCount + 1);
40
41
renderCounter++;
42
Callers
1
handleSubmit
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected