Question: what is the difference between an element and a component in react?
Answer: A component is a factory for creating elements. React Element - It is a simple object that describes a DOM node and its attributes or properties you can say. It is an immutable description object and you can not apply any methods on it.