The useState() hook can accept any data type as its initial state, including strings, numbers, arrays, objects, etc.
Question 9 of 10 in useState