From 29be2a5cd19bb6077d39145341bb96005562f347 Mon Sep 17 00:00:00 2001 From: Muhammad Ans <58670177+mohdanss@users.noreply.github.com> Date: Sat, 7 Oct 2023 21:57:59 +0000 Subject: [PATCH] Update post.md Changed 'state is a single source of truth' to 'store is a single source of truth'. --- day-18/post.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day-18/post.md b/day-18/post.md index 7ea00054..36afa9e1 100644 --- a/day-18/post.md +++ b/day-18/post.md @@ -77,7 +77,7 @@ The [3 major principles](http://redux.js.org/docs/introduction/ThreePrinciples.h * Updates are made with pure functions (in reducers) * `state` is a read-only property -* `state` is the single source of truth (there is only one `store` in a Redux app) +* `store` is the single source of truth (there is only one `store` in a Redux app) One big difference with Redux and Flux is the concept of middleware. Redux added the idea of middleware that we can use to manipulate actions as we receive them, both coming in and heading out of our application. We'll discuss them in further detail in a few days.