INOTE
Search...
useState
What is useState in React?
When calling setState, is the state updated immediately?
Why we should passing a function to setState instead of value?
Why we should use useReducer instead of useState in some specific scenarios?