Tuesday, 31 January 2017

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.

WHAT OTHERS ARE READING/RELATED TO THIS:

0 comments:

Post a Comment