1.1.3 • Published 2 years ago

@sandetechtips/hooks v1.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

npm downloads npm npm

Features

  • Built for performance.
  • Embraces powers of useEffect from React.
  • Out of the box integration with React version >= 16.8.0
  • Small size and no dependencies

Install

npm install @sandetechtips/hooks

Quickstart

import { useToggle } from '@sandetechtips/hooks';

function App() {
    const [show, setShow] = useToggle();

    return (
        <Fragment>
            <p>{show.toString()}</p>
            <button onClick={toggle}> Toggle </button>
        </Fragment>
    );
}

Contributors

You are welcome to contribute just send a request to me @ sandeshsingh265@gmail.com! [Become a contributor].

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0-alpha3

2 years ago

1.1.0-alpha2

2 years ago

1.1.0-alpha1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago