Socket
Book a DemoInstallSign in
Socket

@snappmarket/hooks

Package Overview
Dependencies
Maintainers
5
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snappmarket/hooks

> ⚓ hooks are good, making custom re-usable ones is better

0.5.6
latest
Source
npmnpm
Version published
Weekly downloads
171
4175%
Maintainers
5
Weekly downloads
 
Created
Source

Our apps re-usable hooks

⚓ hooks are good, making custom re-usable ones is better

version downloads PRs Welcome MIT License

Watch on GitHub Star on GitHub

react hooks

get started

yarn add @snappmarket/hooks

Hooks Found Here

Hook NameDescription
useDebounce🔂 Change rapidly, do once
useDidUpdateEffect🧵 Do not worry about render phase effect calls
useFocus😵 Focus on every thing you want
useForceUpdate👿 force update component
useGeoLocation🗺 easily deal with navigator location API
useRouteChange🏹 detect when react router dom route changes
useTimer⏱ easily handle timing

usage

import { HOOK_NAME } from '@snappmarket/hooks';


const SampleComponent = props => {
  // use hook here
};

Keywords

hook

FAQs

Package last updated on 15 Dec 2020

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.