3.4.11 • Published 3 months ago

@junipero/hooks v3.4.11

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

npm

Installation

yarn add @junipero/hooks

Usage

import { useEventListener, useTimeout } from '@junipero/hooks';

export default () => {
  useTimeout(() => {
    console.log('This has been executed 1s after first render!');
  }, 1000);

  useEventListener('click', () => {
    console.log('You clicked inside the current document');
  });

  return <div />;
};

Documentation

https://junipero.design/components/use-event-listener

Contributing

Please check the CONTRIBUTING.md doc for contribution guidelines.

License

This software is licensed under MIT.

3.4.11

3 months ago

3.2.2

9 months ago

3.3.0

8 months ago

3.2.1

10 months ago

3.2.0

10 months ago

3.4.1

7 months ago

3.2.3

8 months ago

3.2.0-next.1

10 months ago

3.2.0-next.2

10 months ago

3.2.0-next.0

10 months ago

3.0.2

12 months ago

3.1.0

11 months ago

3.0.1

12 months ago

3.0.0

1 year ago

3.0.0-beta.0

1 year ago

3.0.0-beta.6

1 year ago

3.0.0-beta.11

1 year ago

3.0.0-alpha.40

1 year ago

3.0.0-alpha.6

1 year ago

3.0.0-alpha.16

1 year ago

3.0.0-alpha.15

1 year ago

3.0.0-alpha.29

1 year ago

3.0.0-alpha.3

2 years ago

3.0.0-alpha.28

1 year ago

3.0.0-alpha.1

2 years ago

3.0.0-alpha.0

2 years ago