21kb / react-hooks Goto Github PK View Code? Open in Web Editor NEW 55.0 2.0 7.0 31 KB π£ React Hooks to get hooked on License: MIT License TypeScript 97.11% JavaScript 2.89% hooks react react-hook react-hooks Introduction Β· People Β· Discuss
Fishhook logo by Kangrif from the Noun Project A set of React hooks to get hooked on Storybook Demos See demos. Packages @21kb/react-device-orientation-hook @21kb/react-dom-status-hook @21kb/react-element-focus-hook @21kb/react-notification-hook @21kb/react-online-status-hook @21kb/react-page-visible-hook @21kb/react-vibration-hook License MIT
Fishhook logo by Kangrif from the Noun Project A set of React hooks to get hooked on Storybook Demos See demos. Packages @21kb/react-device-orientation-hook @21kb/react-dom-status-hook @21kb/react-element-focus-hook @21kb/react-notification-hook @21kb/react-online-status-hook @21kb/react-page-visible-hook @21kb/react-vibration-hook License MIT
Should remove event listener instead of adding Hi, I noticed the following issue which I assume is a bug: react-hooks/packages/react-device-orientation-hook/src/index.ts Lines 34 to 40 in ae76460 return () => { window.addEventListener( 'orientationchange', onOrientationChangeEvent, true, ); }; Kind regards, Tim
Lazy initial state for page visible hook Using this hook in the client app bundle for a gatsby site causes build errors if the module is statically imported, as it tries to reference properties on document. Using lazy state initialization may fix this. It may not! Thanks for your time!
Vue.js π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
javascript JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Machine learning Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Facebook We are working to build community through open source technology. NB: members must have two-factor auth.