Hooks are a new addition in React 16.8.React Hooks are a groundbreaking feature in React that fundamentally change the way we create React applications.They let you use state and other React features without writing a class.
What do React Hooks change?
No need for class components!, No more this keyword!, No more life cycle methods!, No more props drilling!, create new custom hooks
The rules of hooks
There are two main usage rules the React core team.
Don’t call hooks inside loops, conditions or nested function.
Only call hooks from react functions.
Who is the target audience?
Web Developers
JavaScript programmers
Coders
PRE-REQUISITES:
It is a hands-on workshop, Please bring a laptop with you and setup a react application.
Follow this link for installation:
https://github.com/facebook/create-react-app
https://github.com/anujsingla/devconf2019