Function Component or Class Component?

As for React.js course, which type of component is used, Function components or Class one?

I’ll use Function component in React project in my project in the near future.
If the React course in Codecademy explains mainly on the basis of the Class component, I’ll use another learning site.

pls, help me.