1.0.2 • Published 6 years ago

isabellae v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 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

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago