From 51ccccd97f9b9d6e68a1fce0cd5fbc7db14f6814 Mon Sep 17 00:00:00 2001 From: Richard Harrington Date: Sun, 15 Jan 2017 00:28:46 -0500 Subject: [PATCH] docs: "effected"->"affected"; "actions"->"puts into action" -- In the first case, the object of the clause is the state, not the change itself, so the verb should be "affected", not "effected". -- In the second case, "actions" is not a verb. The word "effects" would work here but would make the sentence sound super awkward, so I went with "puts into action". --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3d1457d..f64f169 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ a **description of `effects`**. This description is a data structure which says, declaratively, how the world should change (because of the event). Much of the time, only the "application state" of the SPA itself need -change, but sometimes the outside world must also be effected +change, but sometimes the outside world must also be affected (localstore, cookies, databases, emails, logs, etc). ### 3rd Domino - Effect Handling @@ -296,7 +296,7 @@ Which says "when you see a `:delete-item` event, use `h` to handle it". ### Code For Domino 3 -An `effect handler` (function) actions the `effects` returned by `h`: +An `effect handler` (function) puts into action the `effects` returned by `h`: ```clj {:db (dissoc-in db [:items item-id])} ```