The useState Hook is typically used with const declarations because of following reason:
Immutability of Variable Binding: Using const ensures that the variable binding cannot be reassigned within its scope. While the state value itself can change through the setState function, the reference to the state variable remains constant. This prevents accidental reassignments that could lead to bugs.
Clarity and Intent: Declaring state variables with const clearly communicates that the variables should not be reassigned, enhancing code readability and maintainability. It indicates that while the state can change over time, the reference to the state variable remains fixed.
Consistency with React's Design: React's useState Hook returns a state variable and a function to update that state. By using const, you align with React's design, where the state variable reference remains constant, and state updates are handled through the provided setter function.