{"repo":"juliencrn/usehooks-ts","free":true,"listed":false,"github":"https://github.com/juliencrn/usehooks-ts","clone":"git clone https://github.com/juliencrn/usehooks-ts.git","description":"React hook library, ready to use, written in Typescript.","language":"TypeScript","stars":7850,"topics":["typescript","react","react-hooks","mdx","hooks","reactjs","hook","nextjs","react-hook"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"usehooks-ts React hook library, ready to use, written in Typescript. npm i usehooks-ts Created by Julien Caron and maintained with ❤️ by an amazing team of developers . 💫 Introduction useHooks(🔥).ts is a React hooks library, written in Typescript and easy to use. It provides a set of hooks that enables you to build your React applications faster. The hooks are built upon the principles of DRY (Don't Repeat Yourself). There are hooks for most common use cases you might need. The library is designed to be as minimal as possible. It is fully tree-shakable (using the ESM version), meaning that you only import the hooks you need, and the rest will be removed from your bundle making the cost of using this library negligible. Most hooks are extensively tested and are being used in production environments. Usage example 🪝 Available Hooks - useBoolean — handles boolean state with useful utility functions. - useClickAnyWhere — handles click events anywhere on the document. - useCopyToClipboard — copies text to the clipboard using the Clipboard API. - useCountdown — manages countdown. - useCounter — manages a counter with increment, decrement, reset, and setCount functionalities. - useDarkMode — returns the current state of the dark mode. - useDebounceCallback — creates a debounced version of a callback function. - useDebounceValue — returns a debounced version of the provided value, along with a function to update it. - useDocumentTitle — sets the document title. - useEventCallback ","default_branch":null,"files":null,"tree":[],"storefront":"/r/juliencrn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/juliencrn/usehooks-ts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}