Question · JavaScript and React course · Module 3: State and Events

Lifting State Up

What does "lifting state up" mean?

Answer options

  • Increasing the state value
  • Moving state to the closest common ancestor of the components
  • Moving state to Redux
  • Removing state from the component

You can check the correct answer by solving this task in the CodeWorlds game.