State Management in React Apps – Part I

In previous articles, we have learned how to properly use JSX, and how React components communicate with each other. Yet, we still didn’t cover another very important question: where to store information that our application cares about. Today we’re talking about application state management in React.
There are a lot of ways to handle application state, but, first, let’s take a look at the simplest one – component state.