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.

Post a Comment

* Please Don't Spam Here. All the Comments are Reviewed by Admin.