You can write React components in two ways: As a function, or as a class. It can be confusing to understand which you should use and why. For devs brand new to React, they may not understand the history and recent changes between the two. If you ask online, everyone says to use function components. However, almost every tutorial, even the official documentation, favors classes. Why the divide?