0

From what I know

A const variable cannot be changed

1

1 Answer 1

0

I think you are talking about react-hooks.

const [count, setCount] = useState(0);

Here, const is a guard against reassigning the value of the reference within the same scope.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.