Question · JavaScript and TypeScript course · Module 9: Design Patterns and Architecture

State Management

What is immutable state?

Answer options

  • State that is automatically saved to the database
  • State that is not modified directly - instead, a new copy with changes is created
  • State stored only in RAM
  • State that is locked and can never be changed

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