Socket
Book a DemoInstallSign in
Socket

@surinderlohat/react-hooks

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@surinderlohat/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.

0.2.6
latest
npmnpm
Version published
Maintainers
1
Created
Source

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

  • Useful hooks for react js.
  • 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 NameDESCRIPTIONDetails
useLoaderShow loader for async operationsSee more
usePaginationManage pagination with easy waySee more
useEffectAfterMountUse to avoid first time call to dependanceSee more
useDebounceEffectHelp to debounce input changeSee 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!

FAQs

Package last updated on 19 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.