Most popular reactjs Hooks
- useState Hook
- useReducer Hook
- useEffect Hook
- useRef Hook
- useLayoutEffect Hook
- useMemo Hook
Hooks in React generally follow these three rules.
- Hooks can only be called inside a functional component. Class components doesn’t support hooks
- Hooks can only be called at the top level of a component ie above the return code block
- Hooks cannot be conditional and the cannot be placed inside logical code blocks.
Written by Manjunath Follow
Hi, I am Manjunath, the author of this website,I hope you like it! you can reach me out for any website development or startup strategy consultation.Right now I'm doing consulting for various companies. I love teaching people about code, and building my own products. I use .js mainly, and I really love React, React Native, and Node.js.I'm using AWS and Vercel to deploy my products.I'm also writing a blog at my own website.I'm always available on Twitter, send me a message there too!