Key React Hooks Explained: useState, useEffect, and useContext
useState()
The purpose of useState is to handle reactive data. Any data that changes in the application is called state. When the state changes you want react to update the UI, so the latest changes are reflected to the end user.
How to use it?
const...
mohsinkhansab.hashnode.dev3 min read