Basic Question 20

What is React?

What are the major features of React?

What is JSX?

What is the difference between Element and Component?

When to use a Class Component over a Function Component?

What are Pure Comoponents? 🌟

What is state in React?

What are props in React?

What is the difference between state and props?

Why should we not update the state directly?

What is the purpose of callback function as an argument of setState()?

What is the difference between HTML and React event handling?

What are synthetic Events in React?

What is “key” prop and what is the benefit of using it in arrays of elements?

What is the use of refs? 🌟

What are forward refs?

What is Virtual DOM?

How Virtual DOM works?