Question · Angular course · Module 10: State Management

createSelector

What is the main advantage of createSelector() in NgRx?

Answer options

  • Automatic saving to localStorage
  • Memoization - it recomputes only when its dependencies change
  • Automatic sorting of results
  • Runtime type validation

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