0.0.1-alpha.3 • Published 2 months ago

@wowon/hooks v0.0.1-alpha.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

@wowon/hooks

A base react-hooks library.

NPM version NPM downloads

Documentation

Documentation

Installation

Install @wowon/hooks with npm

  pnpm i @wowon/hooks

Usage/Examples

import { useApi } from '@wowon/hooks'

function UserList() {
  const users = useApi(getAllUser, {
    auto: true
  });

  // ...
}

Run Locally

Clone the project

  git clone https://@wowon/hooks

Go to the project directory

  cd hooks

Install dependencies

  pnpm install

Start the server

  pnpm run dev

Running Tests

To run tests, run the following command

  pnpm run test

Deployment

To deploy this project run

  pnpm run deploy

License

MIT