What is useHook.ts ?
IntroductionHooks are a new addition in React 16.8. They let you use state and other React features without writing a class.
This site presents a collection of hooks for react. Thanks to that, I save time each time I re-use a functionality I already coded, and you too. Nobody wants to re-invent the wheel for each project.
I was strongly inspired by useHooks's Gabe Ragland, thanks to him for his work! The idea is not to stupidly copy but to bring a library of hooks written in Typescript, which simplifies my work in a Typescript code base.
This entire blog, this code and this content are uncopyrighted, since ever and for even. That means I’ve put them in the public domain, and released my copyright on all these works. There is no need to email me for permission — use my content however you want! Email it, share it, reprint it with or without credit.
If you want to contribute and add your hook, create a public github gist, fork the repository, make and test your change and submit a Pull Request.