Skip to content

Commit

Permalink
docs: fix some typos (#2483)
Browse files Browse the repository at this point in the history
Signed-off-by: frameflare <[email protected]>
  • Loading branch information
frameflare committed Apr 5, 2024
1 parent 11a798b commit 1049ae1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/extensions/effect.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function MyComponent() {

</details>

- **Resistent To Infinite Loops:**
- **Resistant To Infinite Loops:**
`atomEffect` does not rerun when it changes a value with `set` that it is watching.

<!-- prettier-ignore -->
Expand Down Expand Up @@ -370,7 +370,7 @@ This guarantees that a single effect will be used regardless of how many calls t

The same guarantee can be achieved with the useEffect hook if you ensure that the useEffect is idempotent.

atomEffects are distinguished from useEffect in a few other ways. They can directly react to atom state changes, are resistent to infinite loops, and can be mounted conditionally.
atomEffects are distinguished from useEffect in a few other ways. They can directly react to atom state changes, are resistant to infinite loops, and can be mounted conditionally.

#### It's up to you

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/migrating-to-v2-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ const splittedAtom = splitAtom(unwrap(asyncArrayAtom, () => []))
```
As of writing, `unwrap` is unstable and not documented.
You can instead use `loadable`, which gives more controll on loading status.
You can instead use `loadable`, which gives more control on loading status.
If you need to use `<Suspense>`, atoms-in-atom pattern would help.
For more information, refer the following discussions:
Expand Down
2 changes: 1 addition & 1 deletion docs/utilities/storage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Storage
nav: 3.01
keywords: storage,localstorage,sessionstorage,asyncstorage,persist,persistance
keywords: storage,localstorage,sessionstorage,asyncstorage,persist,persistence
---

## atomWithStorage
Expand Down

0 comments on commit 1049ae1

Please sign in to comment.