react-event-listener icon indicating copy to clipboard operation
react-event-listener copied to clipboard

A React component for binding events on the global scope. :dizzy:

Results 6 react-event-listener issues
Sort by recently updated
recently updated
newest added

We will rewrite the Material-UI codebase using hooks at some point. We might be able to simplify things using the hook API, to investigate.

Here are my dependencies from `package.json`: ``` "devDependencies": { "@babel/cli": "7.2.3", "@babel/core": "7.3.3", "@babel/plugin-proposal-class-properties": "7.3.3", "@babel/plugin-proposal-decorators": "7.3.0", "@babel/plugin-proposal-object-rest-spread": "7.3.2", "@babel/preset-env": "7.3.1", "@babel/preset-react": "7.0.0", "@babel/register": "7.0.0", "app-module-path": "2.2.0", "autoprefixer": "9.4.8", "babel-eslint":...

Would be nice to have react normalized events (+.nativeEvent property) like for all others events (see https://reactjs.org/docs/events.html)

Meteor.js doesn't like Babel 7.0.0 due to a breaking change. Please can you update the package dependency to 7.1.2?

Users could fork your example within codesandbox and get to work playing with the component. Saves developer time, invites people to play.

The rollup config references a [module build](https://github.com/oliviertassinari/react-event-listener/blob/master/rollup.config.js#L47), however... https://unpkg.com/[email protected]/dist/react-event-listener.esm.js does not exist https://unpkg.com/[email protected]/dist/react-event-listener.cjs.js exists