{"repo":"craig1123/react-recipes","free":true,"listed":false,"github":"https://github.com/craig1123/react-recipes","clone":"git clone https://github.com/craig1123/react-recipes.git","description":"👩‍🍳 A list of React Hooks utility library containing popular customized hooks","language":"JavaScript","stars":1044,"topics":["react","hooks","react-hooks","custom-hooks","react-components","customized-hooks","react-recipes"],"license":"MIT","category":"ui-components","readme_excerpt":"React Recipes A React Hooks utility library containing popular customized hooks What's your favorite dish? 🥘 Recipes Documentation Name Returns Arguments ----------------------------------------------------------- ------------------------------------------------------------- --------------------------------------------------------------------------------------- 🍡 useAdjustColor color (percentage, color1, color2: null, linearBlend: false) 🥟 useArray { value, setValue, removeById, removeIndex, clear } (initialValue) 🔄 useAsync { error, execute, pending, value } (asyncFunction, immediate: true) 🍪 useCookie [cookieValue, updateCookie, deleteCookie] (cookieName, initialValue) 🥠 useCopyClipboard [isCopied, setIsCopied] (duration: 2000) 🍩 useDarkMode [enabled, setEnabledState] - 🍜 useDebounce debouncedValue (value, delay) 🥡 useDimensions [ref, dimensions, node] (liveMeasure: true, delay: 250, initialDimensions: {}, effectDependencies: []) 🍳 useEventListener - (eventName, handle, element: window) 🌮 useFullScreen { fullScreen, open, close, toggle } (element: document.documentElement) 🌯 useGeolocation { latitude, longitude, timestamp, accuracy, error } (watch: false, settings: {enableHighAccuracy: false, timeout: Infinity, maximumAge: 0}) 🌭 useHover [callbackRef, value] - 🍦 useInterval - (callback, delay, runOnLoad: false, effectDependencies: []) 🍐 useIsClient isClient - 🥧 useKeyPress keyPressed (targetKey) 🍱 useLocalStorage [storedValue, setValue] (key, initialValue) ","default_branch":null,"files":null,"tree":[],"storefront":"/r/craig1123","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/craig1123/react-recipes/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."}