React-JS PGR
React-JS PGR
What is ReactJS
npm start
OR
yarn create react-app my-app
JSX
}
Component-State
}
State in Functional Components
Hooks are a new addition in React 16.8. They let you use
state and other React features without writing a class.
Some commonly used React Hooks.
useState()
useEffect()
useRef()