React class based components vs functional

Hi guys,

I’ve reached the React part of the Front End Course and it appears that we are mainly taught class based components rather than functional, I understand that it’s important to know how they work when reading older code but wouldn’t focusing on functional components be more practical overall for modern React? I’ve watched videos on React and they’ve never been mentioned which is putting me off using this course.

Can anyone explain why it is taught this way or why I am wrong to be put off?

Thank you!

There are several topics in the forum about that, like this one:

Anyway, CC announced a major update for the React content in the very near future, so I guess there’ll be less class based courses there then.

1 Like