This lesson will provide you with information on what React is, its brief history, and why we’re choosing to cover it in our curriculum.
This section contains a general overview of topics that you will learn in this lesson.
- Understand what React is
According to the React website, React is “The library for web and native interfaces.” However, let’s break this down a bit further.
A library should not be confused with a framework, even though the terms are often used interchangeably. You’ll read about differences between libraries and frameworks later on in the lesson.
React provides powerful primitives (built-in functions/modules) that allow us to build user interfaces of varying complexities. Throughout this course, we’ll learn all about the functionality React provides and learn to build cool applications.
Once you start diving deeper into a framework, you’ll begin to love it. It makes your code easily scalable, more readable, and possibly a thousand times more efficient (in our modest estimation).
To name a few reasons to learn React:
- Components are reusable.
- It’s well-supported due to its popularity and large community.
- It’s not opinionated, which means it won’t force you to follow any specific design patterns, project organizational structure, or logic. It’s all up to you.
If you need more convincing, the recent 2023 StackOverflow Developer Survey should be reason enough to get excited about learning React. Still unsure? Check out this article on why you should learn React.
If you haven’t already, browse through the React Website. Don’t go too in-depth or dive into documentation, but do read the introduction/homepage to get an idea of how React works.
This section contains questions for you to check your understanding of this lesson on your own. If you’re having trouble answering a question, click it and review the material it links to.
This section contains helpful links to related content. It isn’t required, so consider it supplemental.
- If you are interested in learning more about React’s history, check out this documentary on React’s origin story by Honeypot