What Is Lifting State Up in React?
Demonstrating lifting state up using React.js
In React, sharing state is accomplished by moving it up to the closest common ancestor of the components that need it. This is called “lifting state up.” — React Docs
Lately, I’ve been wondering what Redux would be used for in a brand-new React application in 2019, as React itself can handle state management.
I recently came across this article by Kent C. Dodds where he stated he has only ever used Redux once, for the same reason — React handles state.
Then he goes on to introduce lifting state up, which he calls a “rock-solid” solution to solving the problem of sharing state across components.
Let’s work through a code example and see what lifting state up means.





