Overview

Get introduced to the state management strategies in React using state and props.

We'll cover the following

In the previous section, we went over a brief history of web development, JavaScript, ReactJS, and React Native. Even though historical knowledge is not required to write great code, we find it useful. Once we learn why specific library creators encourage some patterns and discourage others, we can write code that is less error-prone and more performant.

Goal of this section

In this section, we will dive into code examples. We will start by looking at the most basic data and state management strategies in React: using state and props. We will then dive into a comparison of stateful and stateless components. Once we have a good understanding of how state works in React applications, we will move on to talking about hooks. We will finish off this section by completing the setup and configuration of our own little app.

Get hands-on with 1400+ tech skills courses.