@whatnotery
if I were making react I would've gotten to the point where you have to rename
class
as className
because class is a reserved keyword, and given up — it's often best to admit when you've been defeated!