DEV Community

loading...

Discussion on: Fast & easy... React states management in one function

Collapse
patroza profile image
Patrick Roza

I like this, how about leveraging a data- attribute instead of name?