0.0.5 • Published 3 years ago

@wappla/react-hooks v0.0.5

Weekly downloads
42
License
MIT
Repository
github
Last release
3 years ago

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

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

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago