Skip to content

Commit d8b51a7

Browse files
refactor(store): improve tree-shaking of alien-signals implementation (#297)
* refactor(store): improve tree-shaking of alien-signals implementation * ci: apply automated fixes and generate docs --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 4ac32a1 commit d8b51a7

11 files changed

Lines changed: 387 additions & 373 deletions

File tree

.changeset/curvy-apes-matter.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tanstack/store': patch
3+
---
4+
5+
Improve tree-shaking of alien-signals

docs/reference/functions/batch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: batch
99
function batch(fn): void;
1010
```
1111

12-
Defined in: [batch.ts:4](https://github.com/TanStack/store/blob/main/packages/store/src/batch.ts#L4)
12+
Defined in: [atom.ts:62](https://github.com/TanStack/store/blob/main/packages/store/src/atom.ts#L62)
1313

1414
## Parameters
1515

docs/reference/functions/createAsyncAtom.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: createAsyncAtom
99
function createAsyncAtom<T>(getValue, options?): ReadonlyAtom<AsyncAtomState<T, unknown>>;
1010
```
1111

12-
Defined in: [atom.ts:88](https://github.com/TanStack/store/blob/main/packages/store/src/atom.ts#L88)
12+
Defined in: [atom.ts:100](https://github.com/TanStack/store/blob/main/packages/store/src/atom.ts#L100)
1313

1414
## Type Parameters
1515

docs/reference/functions/createAtom.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: createAtom
1111
function createAtom<T>(getValue, options?): ReadonlyAtom<T>;
1212
```
1313

14-
Defined in: [atom.ts:126](https://github.com/TanStack/store/blob/main/packages/store/src/atom.ts#L126)
14+
Defined in: [atom.ts:138](https://github.com/TanStack/store/blob/main/packages/store/src/atom.ts#L138)
1515

1616
### Type Parameters
1717

@@ -39,7 +39,7 @@ Defined in: [atom.ts:126](https://github.com/TanStack/store/blob/main/packages/s
3939
function createAtom<T>(initialValue, options?): Atom<T>;
4040
```
4141

42-
Defined in: [atom.ts:130](https://github.com/TanStack/store/blob/main/packages/store/src/atom.ts#L130)
42+
Defined in: [atom.ts:142](https://github.com/TanStack/store/blob/main/packages/store/src/atom.ts#L142)
4343

4444
### Type Parameters
4545

docs/reference/functions/flush.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: flush
99
function flush(): void;
1010
```
1111

12-
Defined in: [atom.ts:69](https://github.com/TanStack/store/blob/main/packages/store/src/atom.ts#L69)
12+
Defined in: [atom.ts:81](https://github.com/TanStack/store/blob/main/packages/store/src/atom.ts#L81)
1313

1414
## Returns
1515

knip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
},
88
"ignoreDependencies": ["vue"],
99
"ignoreWorkspaces": ["examples/**"],
10-
"ignore": ["packages/store/src/alien.ts"]
10+
"ignore": ["packages/store/src/signal.ts"]
1111
}

0 commit comments

Comments
 (0)