Skip to content

A list of custom hooks examples built with react hooks.

Notifications You must be signed in to change notification settings

f22hd/custom-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A react hooks that accelerate your development.

useInView (main branch)

it is an event will fire when an element displayed in screen view. it can be used to add animation, loading heavy content, lazy loading for images ...etc.

useInfiniteScroll (infinite-scroll)

it helps when a developer need to use infinite scroll instead of pagination to load more data. you can clone the project (infinite-scroll branch) and run the app then scroll down more and more to see the result.

How to start?

to see the result just run npm start command with selected the proper branch.

Contribution

If you would like to add more hooks,
just let me know with your suggestion by opening a new issue or creating a new pr for ready hooks.

About

A list of custom hooks examples built with react hooks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published