Skip to content

Commit

Permalink
Merge branch 'main' into fix_unwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
satoren authored Nov 2, 2023
2 parents 82cbb83 + 047c27a commit 51f65be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/utilities/select.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ published: false

## selectAtom

Ref: https://github.com/pmndrs/jotai/issues/36
⚠️ Unlike its name, `selectAtom` is provided as an escape hatch. Using it means building not 100% pure atom model. Prefer using derived atoms and use `selectAtom` only when `equalityFn` or `prevSlice` is unavoidable.

### Signatures

```ts
function selectAtom<Value, Slice>(
Expand Down

0 comments on commit 51f65be

Please sign in to comment.