Questions:
What is React?
This is most probably the first and the most basic question in any React interview process. With this question, the interviewer tries to get insight about the candidate’s understanding about React, its purpose and how it differs from other frameworks and libraries.
Sample Answer:
React is a JavaScript library developed and maintained by Meta (formerly Facebook). It is primarily used for building user interfaces mostly single-page applications wherein speed and interactivity is highly required. It is component based, declarative and utilizes Virtual DOM to render page elements in the most optimized way. Instead of manipulating the DOM elements directly, we would just be describing how the UI of the page should look like and React will take of updating the DOM elements accordingly in the most efficient way.