What is React.createClass?



What is React.createClass?..

Answer / Mohd. Mairaj

React.createClass is a method used for creating class components in React versions before ES6 classes were introduced. It has been deprecated since React 15.0 and is not recommended for new projects.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More React.js Interview Questions

Differentiate between stateful and stateless components?

1 Answers  


What are the difference between pros and state?

1 Answers  


What are the advantages of using reactjs?

1 Answers  


What can you do if the expression contains more than one line?

1 Answers  


When was React first released?

1 Answers  


What is react fiber?

1 Answers  


How is reactjs different from angular and vue js?

1 Answers  


How can you embed two or more components into one?

1 Answers  


How to set up routing in reactjs. Explain with the help of step by step approach?

1 Answers  


Explain about the standard javascript toolchain, transpilation, jsx?

1 Answers  


What is reactjs-jsx? Explain basic code snippet of jsx with the help of a practical example?

1 Answers  


What is flux?

1 Answers  


Categories