1.0.2 • Published 4 years ago

isabellae v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

isabellae

better react hooks

Usage

Inside your React project directory, run the following:

    yarn add isabellae

Or with npm:

    npm install isabellae

Use in your hooks like this:

import { useArray } from 'isabellae'

const useUserList = () => {
  const [users, { push, remove }] = useArray([])
  return [users, { addUser: push, deleteUser: remove }]
}
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago