The State of a Component ReactJS is a component-based user interface library. Each of the components we create should have an individual responsibility. In the real world ReactJS application, components need to interact by exchanging information or d...

Markdown supported Ā· āāµ to post
Tapas Adhikary
I dont understand that difference
const incrBy3 = () => { setCounter((prev) => prev + 3); };
const incrBy3 = () => { setCounter(counter+ 3); };
Um Zaharradeen
software developer, love math & applied conecps that results great
great article keep this comming