Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom react hooks

Run demo app

yarn install
yarn start

In Visual Studio Code you can click Start Debugging instead of yarn start command

-=    or    =-

Open in Codesandbox

Hooks list

Name Description Links
useInput Easy way to manage controlled inputs src usage
useHover Determines whether the mouse is over an element src usage
useDebounce Removes frequent function calls src usage
useRequest Fetches JSON data by URL src usage
useScroll Creates infinite scroll src usage
useToggle Bool state logic src usage
useLocalStorage Saves state in local storage src usage
useIdle Tracks if user on page is idle src usage

About

sample hooks for react

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages