React — Function component and Class component —

Photo by Sigmund on Unsplash

Create a component

“Function” components