From 8984bb4c6d21e99c6b1260ab35a9cf734aa62ab9 Mon Sep 17 00:00:00 2001 From: Saqib Shafin Date: Tue, 30 Apr 2024 13:56:13 +0600 Subject: [PATCH 1/2] Grammatical improvement --- website/docs/essentials/side_effects.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/essentials/side_effects.mdx b/website/docs/essentials/side_effects.mdx index 1e7211be4..43d793a75 100644 --- a/website/docs/essentials/side_effects.mdx +++ b/website/docs/essentials/side_effects.mdx @@ -35,7 +35,7 @@ To showcase this new concept, let's use a more advanced example: A to-do list. ## Defining a Notifier Let's start with what we already know by this point: A plain simple _GET_ request. -As saw previously in , we could +As we saw previously in , we could fetch a list of todos by writing: From fa95a04812a8999e33cd7a3407651e8dc2825770 Mon Sep 17 00:00:00 2001 From: Saqib Shafin Date: Tue, 30 Apr 2024 15:42:57 +0600 Subject: [PATCH 2/2] Grammatical fix --- website/docs/essentials/side_effects.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/essentials/side_effects.mdx b/website/docs/essentials/side_effects.mdx index 43d793a75..3639eb3e8 100644 --- a/website/docs/essentials/side_effects.mdx +++ b/website/docs/essentials/side_effects.mdx @@ -40,7 +40,7 @@ fetch a list of todos by writing: -Now that we've fetch a list of todos, let's see how we can add a new todos. +Now that we've fetched a list of todos, let's see how we can add a new todos. For this, we will need to modify our provider such that they expose a public API for modifying their state. This is done by converting our provider into what we call a "notifier".