Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 1.67 KB

api.md

File metadata and controls

33 lines (18 loc) · 1.67 KB

@peter-present/react-hook-utils

Baby Chick Api

  • This hook acts like useEffect with a significant difference. useDeepEffect can detect exactly what and how dependencies change, give developer more information to create suitable effectCallback for every situations.
  • I have worked as a blockchain developer for a while. Sometimes, in the coding process, i must link a transaction hash or an address to its blockchain explorer scan such as BSC Scan, ETH Scan. This hook helps developers just build the right link.
  • This useful hook help for returning mouse position.
  • Obviously, usePagination is the very helpful hook when developer must work with tables, lists that require pagination service.
  • Return scroll position and its status(you are scrolling up or down).
  • This hook is very straightforward. It bears no difference to the regular setTimeout method from vanilla Javascript. But this custom hook simplifies its usage, and most importantly – lets you forget about clearing the interval when you’re done using it.
  • This useful hook can be used for translating into a special language