Skip to content
Source
Sign inSign up
TanStack/store
Open History to see the last commit

AtomOptions.md

36 lines443 Bytes

1---
2id: AtomOptions
3title: AtomOptions
4---
5​
6Defined in: [types.ts:47](https://github.com/TanStack/store/blob/main/packages/store/src/types.ts#L47)
7​
8## Type Parameters
9​
10### T
11​
12`T`
13​
14## Properties
15​
16### compare?
17​
18```ts
19optional compare?: (prev, next) => boolean;
20```
21​
22Defined in: [types.ts:48](https://github.com/TanStack/store/blob/main/packages/store/src/types.ts#L48)
23​
24#### Parameters
25​
26##### prev
27​
28`T`
29​
30##### next
31​
32`T`
33​
34#### Returns
35​
36`boolean`