Computer Science, asked by kingshuk181197, 5 months ago

how to use hooks in react?

Answers

Answered by arbaj965690
0

Answer:

dgryedeuydvjdbkjddc

Answered by harsh12345678909
0

Answer:

Only Call Hooks at the Top Level

Instead, always use Hooks at the top level of your React function. By following this rule, you ensure that Hooks are called in the same order each time a component renders. That's what allows React to correctly preserve the state of Hooks between multiple useState and useEffect calls.

Mark as brainlist

Similar questions