React Hook : useState()
The useState() function
useState() function takes in a changeable value and returns an array of exactly 2 elements.
Where the 1st element is the updated value itself, and the 2nd element is the updating function.
const [title,setTitle] = useState('')...
yipcode.hashnode.dev2 min read