DEV Community


Discussion on: Learning React

urielbitton profile image
Uriel Bitton

Btw in newer versions of react, using class instead of className will not throw an error and will work just the same, although it is not recommended and will throw a warning in the console. Maybe in a future version we'll be able to use it legally!

debs_obrien profile image
Debbie O'Brien Author

good to know. yeah it would be cool to just use it as keeps things simpler

Forem Open with the Forem app