Learn useState In 7 Minutes - React Hooks Explained
Kunal Garg
Posted on January 8, 2022
Today we are going to learn about the state in React i.e. Hooks
Why hooks? When to use all this we will cover.
Rules of Hooks
Hooks are JavaScript functions, but they impose two additional rules:
- Only call Hooks at the top level. Don’t call Hooks inside loops, conditions, or nested functions.
- Only call Hooks from React function components.
For tutorial you can refer
💖 💪 🙅 🚩
Kunal Garg
Posted on January 8, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.