What are the three core principles of Redux?

Beginner

Answer

  1. Single source of truth: The global state is stored in a single store
  2. State is read-only: State can only be changed by dispatching actions
  3. Changes are made with pure functions: Reducers are pure functions that specify how state changes in response to actions