Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

fix a typo in sync-effect.md #2262

Open
wants to merge 1 commit into
base: docs
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/recoil-sync/sync-effect.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ atom({

### Atom Families

Atoms in an [atom family](/docs/api-reference/utils/atomFamily) can also by synchronized with [`syncEffect()`](/docs/recoil-sync/api/syncEffect). Each individual atom in the family is treated as a separate item to sync. The default item key will include a serialization of the family parameter. If you specify your own `itemKey` then you should also encode the family parameter to uniquely identify each atom; the parameter can be obtained by using a callback for the atom family `effects` option.
Atoms in an [atom family](/docs/api-reference/utils/atomFamily) can also be synchronized with [`syncEffect()`](/docs/recoil-sync/api/syncEffect). Each individual atom in the family is treated as a separate item to sync. The default item key will include a serialization of the family parameter. If you specify your own `itemKey` then you should also encode the family parameter to uniquely identify each atom; the parameter can be obtained by using a callback for the atom family `effects` option.

```jsx
atomFamily({
Expand Down