Understanding React Hooks - useState

added by JavaScript Kicks
1/8/2019 8:35:08 AM


Everything you need to know to start working with Hooks in React. With the advent of React v 16.7.0, a new feature came along with it, it is called Hook. This enables us to plug into our React apps to access features like the state of our app and other niceties like the lifecycle hooks: componentDidMount, componentDidUpdate and componentDidUnmount from our function Components without using ES6 class.