How Hooks Changed The Game?


Q. What are hooks? Ans: Hooks are a new feature addition in react version 16.8, allowing you to use react features without writing a class. Hooks don’t work inside the classes. Ex. State of components. Hooks don’t contain any breaking changes and the hooks release is 100% backward-compatible  Motivation for hooks Why did the react team always feel that there was a necessity for a react...