DEV Community

loading...

Discussion on: React useReuse pattern

Collapse
borasvm profile image
Kuldeep Bora • Edited

minor correction:

button onClick={() => {use.setCount(use.count + 1)}}>
Click me
/button

Collapse
basarat profile image
Basarat Ali Syed Author

Thanks. Fixed 🌹

Forem Open with the Forem app