Redux Principles
Understand the underlying principles of Redux.
The three principles of Redux
Redux is based on the following three principles:
-
A Redux app should have a single source of truth called the store.
-
The store is read-only and is mutated solely by dispatching actions.
-
Changes to the store are made using pure functions called reducers.
Let’s discuss each principle in detail.
Get hands-on with 1400+ tech skills courses.