{"repo":"matthewp/haunted","free":true,"listed":false,"github":"https://github.com/matthewp/haunted","clone":"git clone https://github.com/matthewp/haunted.git","description":"React's Hooks API implemented for web components 👻","language":"TypeScript","stars":2718,"topics":["hooks","lit-html","react-hooks","web-components"],"license":"BSD-2-Clause","category":"ui-components","readme_excerpt":"Haunted 🦇 🎃 React's Hooks API but for standard web components and lit-html or hyperHTML. 📚 Read the Docs 📖 More example integrations can be found in this gist. Hooks Haunted supports the same API as React Hooks. The hope is that by doing so you can reuse hooks available on npm simply by aliasing package names in your bundler's config. Currently Haunted supports the following hooks: - useCallback - useContext - useController - useEffect - useLayoutEffect - useMemo - useReducer - useRef - useState Function Signatures License BSD-2-Clause","default_branch":null,"files":null,"tree":[],"storefront":"/r/matthewp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/matthewp/haunted/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."}