In this instalment of ‘Spot the Bug’, we have a simple React toggle component which switches between active
and inactive
when clicked. However, it’s not working as expected. Can you see what the problem is?
In this instalment of ‘Spot the Bug’, we have a simple React toggle component which switches between active
and inactive
when clicked. However, it’s not working as expected. Can you see what the problem is?
I am a UI developer writing about JavaScript, React and tech in general. Currently working at Pleo.