Skip to content

Commit

Permalink
Update side_effects.mdx
Browse files Browse the repository at this point in the history
Typos
  • Loading branch information
nah0y authored Aug 31, 2023
1 parent e056800 commit 7c3d834
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/docs/essentials/side_effects.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ will follow naturally.
label: "Modifiers (optional)",
description: <>

Often, after the type of the provider you may see a "motifier".
Often, after the type of the provider you may see a "modifier".
Modifiers are optional, and are used to tweak the behavior of the provider
in a way that is type-safe.

Expand Down Expand Up @@ -300,7 +300,7 @@ when logic is performed in event handlers such as "onPressed".

We now have a button which makes a _POST_ request when pressed.
However, at the moment, our UI does not update to reflect the new todo list.
We will want to our local cache to match the server's state.
We will want our local cache to match the server's state.

There are a few ways to do so with their pros and cons.

Expand Down Expand Up @@ -396,7 +396,7 @@ If you want to use mutable state instead, you can alternatively do:

## Going further: Showing a spinner & error handling

We've all we seen do far, we have a button which makes a _POST_ request
With all we've seen so far, we have a button which makes a _POST_ request
when pressed; and when the request is done, the UI updates to reflect
changes.
But at the moment, there is no indication that the request is being
Expand Down

0 comments on commit 7c3d834

Please sign in to comment.