From 9d21b33c5ab4521c2e5e02f6a50200b70959be22 Mon Sep 17 00:00:00 2001 From: smartinez Date: Sat, 16 Jan 2021 16:21:28 -0300 Subject: [PATCH 1/2] fixes tiny typos and toc update --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ba904a5..9d7d7c6 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ - [Avoid contractions](#avoid-contractions) - [Avoid context duplication](#avoid-context-duplication) - [Reflect expected result](#reflect-expected-result) -- Naming functions +- [Naming functions](#naming-functions) - [A/HC/LC pattern](#ahclc-pattern) - [Actions](#actions) - [Context](#context) @@ -146,7 +146,7 @@ function getFruitsCount() { ### `set` -Declaratively sets a variable with value `A` to value `B`. +Sets a declarative variable, with value `A` to value `B`. ```js const fruits = 0 @@ -206,7 +206,7 @@ removeFilter('price', selectedFilters) ### `delete` -Completely erazes something from the realms of existence. +Completely erases something from the realms of existence. Imagine you are a content editor, and there is that notorious post you wish to get rid of. Once you clicked a shiny "Delete post" button, the CMS performed a `deletePost` action, **not** `removePost`. From b42176de35c3299b264b8d16286f7ac571e13e0e Mon Sep 17 00:00:00 2001 From: smartinez Date: Sat, 16 Jan 2021 16:23:29 -0300 Subject: [PATCH 2/2] fix set action description --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d7d7c6..e269ab5 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ function getFruitsCount() { ### `set` -Sets a declarative variable, with value `A` to value `B`. +Sets a variable in a declarative way, with value `A` to value `B`. ```js const fruits = 0