@surinderlohat/react-hooks
TypeScript icon, indicating that this package has built-in type declarations

0.2.6 • Public • Published

React Hooks

Useful hooks for react JS, super easy to use and can handel all the major user cases.

Based on the React hooks and reactive programing.

No extra dependencies pure react js code & lightweight.

Features

  1. Useful hooks for react js.
  2. Open source Free to use.

Installation

npm install @surinderlohat/react-hooks
or
yarn add @surinderlohat/react-hooks

API Documentation

https://surinderlohat.github.io/react-hooks/

Hook Name DESCRIPTION Details
useLoader Show loader for async operations See more
usePagination Manage pagination with easy way See more
useEffectAfterMount Use to avoid first time call to dependance See more
useDebounceEffect Help to debounce input change See more

How to use

import { use hook Name here from API Documentation } from '@surinderlohat/react-hooks';


// i.e 
import { usePagination } from '@surinderlohat/react-hooks';

License

MIT Free Software!

Readme

Keywords

none

Package Sidebar

Install

npm i @surinderlohat/react-hooks

Weekly Downloads

4

Version

0.2.6

License

MIT

Unpacked Size

52 kB

Total Files

21

Last publish

Collaborators

  • surinderlohat