DEV Community

loading...

Discussion on: Learning React

Collapse
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!

Collapse
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