Educator @tapaScript | Founder CreoWis & ReactPlay - Writer - YouTuber - Open Source
Co-Founder, @CreoWis | Teacher, @tapaScript | Founder, @ReactPlay | YouTuber | Writer | Human
Markdown supported · ⌘↵ to post
I dont understand that difference
const incrBy3 = () => { setCounter((prev) => prev + 3); };
const incrBy3 = () => { setCounter(counter+ 3); };
Um Zaharradeen
great article keep this comming