1.0.7 • Published 5 years ago

@preact-hooks/event v1.0.7

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

Inspired by donovan/use-event-listener

version MIT License

Table of Contents

Installation

This package has Preact 10+ as a peer dependency.

npm install @preact-hooks/event or yarn add @preact-hooks/event

You can also load it via the unpkg CDN

https://unpkg.com/@preact-hooks/event will download the latest UMD bundle.

Docs

For usage and examples see donovan/use-event-listener.

LICENSE

MIT