Minebrat Interview Question

Q: what is difference between Element and Component

Interview Answer

Anonymous

Jun 6, 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.