Understanding the React useState() Hook
Introduction Hooks were introduced in React v16.8.0. Prior to that, if we had written a functional component and wanted to add state or make use of lifecycle methods to perform operations such as data fetching and manual DOM manipulation, the functio...
Nov 12, 20206 min read336
