- 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 atransaction hash
or anaddress
to itsblockchain 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).
6. useTimeout
- 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.
7. useTranslate
- This useful hook can be used for translating into a special language