DEV Community

Discussion on: React — Access custom params in handlers the right way

Collapse
 
flexdinesh profile image
Dinesh Pandiyan

The example was to give an idea that values can be stored as data attributes. I'll update the example to access state values so it's obvious.