Is it possible to use the word class in jsx?
Answer / Ashish Mandal
No, in JSX the keyword 'class' should be written as 'className'. For example: `<div className='my-class'></div>`
| Is This Answer Correct ? | 0 Yes | 0 No |
State the difference between React JS and React Native
What is reactjs-jsx? Explain basic code snippet of jsx with the help of a practical example?
What is jsx and how jsx can help applications in react.js?
Where in a React component should you make an AJAX request?
What is the difference between angularjs vs react.js?
What is react intl?
How react router is different from history library?
What are the lifecycle methods going to be deprecated in react v16?
What is Babel in React js?
Why you can’t update props in react?
What are synthetic events?
What are the advantages of reactjs?