New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

hook-my-input

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hook-my-input

custom react hook for handling form inputs.

latest
Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

Hook My Input!

Hook My Input is a custom React Hook. It uses the "useState" React hook to enable reusability and more composability across form inputs.

No need to create different event handlers for 2 different input fields or even 10000 different input fields.

As of now, only the input value and onchange handlers are hooked. More handles coming up in the future versions.

Install: npm install --save hook-my-input

Sample Usage -

Sample Usage

Keywords

npm

FAQs

Package last updated on 01 Jul 2019

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