React Hook, Hooks, React.
setOtherCounter(otherCounter + 1) } return ( <> Count: {count} <button onClick={increment}>+</button> <button onClick={decrement}>-</button> <button onClick={incrementOtherCounter}>incrementOtherCounter</button> </> ) } in above,the problem here is that any time the counter is updated, all the 3