Use Events - Events turned into React Hooks. Read about Hooks feature.
https://sandiiarov.github.io/use-events
Note: React 16.8+ is required for Hooks.
npm i use-events
yarn add use-events