KKrishna • answered 1 year ago10useState must be initialized with a value (e.g., 0). 1const [count, setCount] = useState(0);1const [count, setCount] = useState(0); Also, TypeScript users should provide a type. 1const [count, setCount] = useState<number>(0);1const [count, setCount] = useState<number>(0);