Today I learn why we used components in react js.
Basically Components are used to repeat the same type of code in an easy way.
we just need to add components and we can use any number of times the same code.
Actually I am busy with my desktop application project therefore I spend less time for it to learn.
Hope you know all about it. if you have more information about components, then please write in the comment section.