πͺReact hooks
Evt let you work with events in react without having to worry about cleaning up afterward.
Last updated
Was this helpful?
Was this helpful?
//package.json (if you use create-react-app otherwise use .eslintrc.js)
{
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": [
"error",
{
"additionalHooks": "(useEvt)"
}
]
}
}
}