Socket
Socket
Sign inDemoInstall

@charlietango/hooks

Package Overview
Dependencies
19
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @charlietango/hooks

Collection of React Hooks grouped into @charlietango/hooks


Version published
Weekly downloads
56
increased by3.7%
Maintainers
2
Install size
249 kB
Created
Weekly downloads
 

Readme

Source

Charlie Tango Hooks

Version Badge dependency status dev dependency status License styled with prettier

Collection of React Hooks used by Charlie Tango.

Storybook Demo: https://ct-hooks.now.sh

Installation

Install using Yarn:

yarn add @charlietango/hooks

or NPM:

npm install @charlietango/hooks --save

The Hooks

Individual hooks

All of our Hooks are published into their own NPM module, so you can pick and choose exactly the ones you need.

To use the Hook, import it from the package you installed, like:

import useMedia from "@charlietango/use-media";

@charlietango/hooks

The @charlietango/hooks module collects all of the individual modules into a single dependency. The module is optimized for tree shaking, so you application should only include the dependencies you actually use.

import { useMedia } from "@charlietango/hooks";

Contributing

This hooks library is built at as a monorepo using Lerna and Yarn Workspaces.

To start working on a new hook, you should run the new-hook script to generate the new package.

yarn new-hook

Keywords

FAQs

Last updated on 14 Apr 2022

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc