React hooks
Evt let you work with events in react without having to worry about cleaning up afterward.
useEvt()
The core idea is to always use the ctx
to attach handlers. This will enable EVT to detach/reload handlers when they need to be namely when the component is unmounted or a value used in a handler has changed.
useRerenderOnStateChange()
ESLint
You can use this react-hooks/exhaustive-deps
to be warned if you forget a dependency:
Last updated