useState & useEffect() hook
Dec 25, 2022 · 3 min read · useState() hook useState() hook is a special function which takes one argument. The argument passed to useState is initial state. It returns an array of two entries. The first element is the initial state and the second is a function which is used fo...
Join discussion
