Minebrat interview question

Q: what is difference between Element and Component

Interview Answer

Anonymous

6 June 2023

react elements are simple objects that describes object of node, and properties , attributes but react components are classes or functions that take input and return react element.