Question · Angular course · Module 10: State Management

signal vs computed

What is the difference between signal() and computed() in the context of state management?

Answer options

  • signal() is faster
  • signal() holds a value, computed() derives it from other signals
  • computed() is for objects, signal() for primitives
  • There is no difference

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