@wappla/react-hooks
v0.0.5
Published
<h1 align="center">@wappla/react-hooks</h1> <div align="center">
Downloads
427
Keywords
Readme
Motivation
One Paragraph of project description goes here
Getting Started
To get started, add @wappla/react-hooks
to your project:
Using npm:
npm install --save @wappla/react-hooks
Using yarn:
yarn add @wappla/react-hooks
Please note that @wappla/react-hooks
requires react@^16.12.0
as a peer dependency.
Running the tests
npm run test
API
useAsyncEffect
useDebounce
useDebouncedCallback
useLatest
useOnClickOutside
useWindowSize
Returns the size of the browser's window.
const {
innerWidth,
outerWidth,
innerHeight,
outerHeight,
} = useWindowSize()
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Sander Peeters - Initial work - Sander Peeters
See also the list of contributors who participated in this project.
About us
Wappla BVBA We shape, build and grow ambitious digital products.
License
This project is licensed under the MIT License - see the LICENSE.md file for details