Posts by Yago Juan • 21 points
1 post
-
1
votes2
answers362
viewsQ: useState does not work as expected
I want to do a simple mathematical operation from two random numbers when I click on the button, however, every time I click on the button the result shown on screen is from the previous operation…