DEV Community

Discussion on: React Ref to add className

Collapse
goran7777 profile image
Goran

This is unusable,i cant add class with refs on socket event at all.I ask myself if we cant add simple class on some socket event ,why refs exists?