Pregunta de entrevista de Tata Consultancy Services

What is React.js and how does it differ from other JavaScript libraries? What are the advantages of using React.js? How does the virtual DOM in React.js work? How does React.js handle updates and rendering? What are the components in React.js and how are they used? How does React.js handle state and props?