In JSX why you can't use "class" word?

In JSX, you can't use the word class. You have to use className instead because JSX gets translated into JavaScript, and class is a reserved word in JavaScript.

Comments

Contact Form

Send