Hey guys, please don’t be so hard on me. I am very new to react and to dom manipulation. I wonder what would be the best practice to create a button on a site, that’s says: 1. Click me 2. After first click: you clicked me 3. Second time : please don’t click me 4. Nothing happens if you click the please don’t click me button 5.if the button hasn’t been clicked in 10 seconds it changes back to click me.
I would really appreciate the help and any kind of resources! Thank you.
submitted by /u/greatebonge
[link] [comments]