Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 1 addition & 6 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@
"node",
"react",
"react-dom",
"typescript",
"typescript49",
"typescript50",
"typescript51",
"typescript52",
"typescript53"
"typescript"
]
}
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup Tools
uses: TanStack/config/.github/setup@88949c60ce4973c0aea4395a6bafb37cd7390e3b # main
- name: Get base and head commits for `nx affected`
uses: nrwl/nx-set-shas@afb73a62d26e41464e9254689e1fd6122ee683c1 # v5.0.1
uses: nrwl/nx-set-shas@e602fada7ad5987b0f7b1905e7a99ea1c661514c # v5.1.0
with:
main-branch-name: main
- name: Run Checks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
persist-credentials: false
- name: Run zizmor
uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4
uses: zizmorcore/zizmor-action@45d7276c9ca790aabd705e31ca99c6185c3e76dd # v0.8.1
with:
advanced-security: false
annotations: true
9 changes: 0 additions & 9 deletions .prettierignore

This file was deleted.

7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: createStoreContext
title: createStoreContext
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function createStoreContext<TValue>(): object;
```
Expand Down
2 changes: 2 additions & 0 deletions docs/framework/angular/reference/functions/injectAtom.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: injectAtom
title: injectAtom
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function injectAtom<TValue>(atom, options?): WritableAtomSignal<TValue>;
```
Expand Down
5 changes: 4 additions & 1 deletion docs/framework/angular/reference/functions/injectSelector.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ id: injectSelector
title: injectSelector
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function injectSelector<TState, TSelected>(
source,
selector?,
options?): Signal<TSelected>;
options?
): Signal<TSelected>;
```

Defined in: [packages/angular-store/src/injectSelector.ts:93](https://github.com/TanStack/store/blob/main/packages/angular-store/src/injectSelector.ts#L93)
Expand Down
2 changes: 2 additions & 0 deletions docs/framework/angular/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: "@tanstack/angular-store"
title: "@tanstack/angular-store"
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

## Interfaces

- [InjectSelectorOptions](interfaces/InjectSelectorOptions.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: InjectSelectorOptions
title: InjectSelectorOptions
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

Defined in: [packages/angular-store/src/injectSelector.ts:11](https://github.com/TanStack/store/blob/main/packages/angular-store/src/injectSelector.ts#L11)

## Extends
Expand Down Expand Up @@ -47,7 +49,7 @@ Defined in: [packages/angular-store/src/injectSelector.ts:15](https://github.com
optional debugName?: string;
```

Defined in: node\_modules/.pnpm/@angular+core@22.2.2\_@angular+compiler@22.2.2\_rxjs@7.8.2\_zone.js@0.16.1/node\_modules/@angular/core/types/\_chrome\_dev\_tools\_performance-chunk.d.ts:54
Defined in: node\_modules/.pnpm/@angular+core@22.3.0\_@angular+compiler@22.3.0\_rxjs@7.8.2\_zone.js@0.16.3/node\_modules/@angular/core/types/\_chrome\_dev\_tools\_performance-chunk.d.ts:54

A debug name for the signal. Used in Angular DevTools to identify the signal.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: WritableAtomSignal
title: WritableAtomSignal
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

Defined in: [packages/angular-store/src/injectAtom.ts:21](https://github.com/TanStack/store/blob/main/packages/angular-store/src/injectAtom.ts#L21)

A callable signal that reads the current atom value when invoked and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: SelectionSource
title: SelectionSource
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
type SelectionSource<T> = object;
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: createStoreContext
title: createStoreContext
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function createStoreContext<TValue>(): object;
```
Expand Down
2 changes: 2 additions & 0 deletions docs/framework/octane/reference/functions/useAtom.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: useAtom
title: useAtom
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function useAtom<TValue>(
atom,
Expand Down
2 changes: 2 additions & 0 deletions docs/framework/octane/reference/functions/useCreateAtom.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: useCreateAtom
title: useCreateAtom
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

## Readonly atom

```ts
Expand Down
2 changes: 2 additions & 0 deletions docs/framework/octane/reference/functions/useCreateStore.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: useCreateStore
title: useCreateStore
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

## Readonly store

```ts
Expand Down
5 changes: 4 additions & 1 deletion docs/framework/octane/reference/functions/useSelector.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ id: useSelector
title: useSelector
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function useSelector<TSource, TSelected>(
source,
selector?,
options?): TSelected;
options?
): TSelected;
```

Defined in: [useSelector.ts:48](https://github.com/TanStack/store/blob/main/packages/octane-store/src/useSelector.ts#L48)
Expand Down
2 changes: 2 additions & 0 deletions docs/framework/octane/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: "@tanstack/octane-store"
title: "@tanstack/octane-store"
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

## Interfaces

- [UseSelectorOptions](interfaces/UseSelectorOptions.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: UseSelectorOptions
title: UseSelectorOptions
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

Defined in: [useSelector.ts:5](https://github.com/TanStack/store/blob/main/packages/octane-store/src/useSelector.ts#L5)

## Type Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: createStoreContext
title: createStoreContext
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function createStoreContext<TValue>(): object;
```
Expand Down
2 changes: 2 additions & 0 deletions docs/framework/preact/reference/functions/useAtom.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: useAtom
title: useAtom
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function useAtom<TValue>(atom, options?): [TValue, (fn) => void & (value) => void];
```
Expand Down
6 changes: 4 additions & 2 deletions docs/framework/preact/reference/functions/useCreateAtom.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ id: useCreateAtom
title: useCreateAtom
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

## Call Signature

```ts
function useCreateAtom<T>(getValue, options?): ReadonlyAtom<T>;
```

Defined in: [useCreateAtom.ts:27](https://github.com/TanStack/store/blob/main/packages/preact-store/src/useCreateAtom.ts#L27)
Defined in: [useCreateAtom.ts:26](https://github.com/TanStack/store/blob/main/packages/preact-store/src/useCreateAtom.ts#L26)

Creates a stable atom instance for the lifetime of the component.

Expand Down Expand Up @@ -58,7 +60,7 @@ function Counter() {
function useCreateAtom<T>(initialValue, options?): Atom<T>;
```

Defined in: [useCreateAtom.ts:31](https://github.com/TanStack/store/blob/main/packages/preact-store/src/useCreateAtom.ts#L31)
Defined in: [useCreateAtom.ts:30](https://github.com/TanStack/store/blob/main/packages/preact-store/src/useCreateAtom.ts#L30)

Creates a stable atom instance for the lifetime of the component.

Expand Down
8 changes: 5 additions & 3 deletions docs/framework/preact/reference/functions/useCreateStore.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ id: useCreateStore
title: useCreateStore
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

## Call Signature

```ts
function useCreateStore<T>(getValue): ReadonlyStore<T>;
```

Defined in: [useCreateStore.ts:39](https://github.com/TanStack/store/blob/main/packages/preact-store/src/useCreateStore.ts#L39)
Defined in: [useCreateStore.ts:38](https://github.com/TanStack/store/blob/main/packages/preact-store/src/useCreateStore.ts#L38)

Creates a stable store instance for the lifetime of the component.

Expand Down Expand Up @@ -59,7 +61,7 @@ function Counter() {
function useCreateStore<T>(initialValue): Store<T>;
```

Defined in: [useCreateStore.ts:42](https://github.com/TanStack/store/blob/main/packages/preact-store/src/useCreateStore.ts#L42)
Defined in: [useCreateStore.ts:41](https://github.com/TanStack/store/blob/main/packages/preact-store/src/useCreateStore.ts#L41)

Creates a stable store instance for the lifetime of the component.

Expand Down Expand Up @@ -109,7 +111,7 @@ function Counter() {
function useCreateStore<T, TActions>(initialValue, actions): Store<T, TActions>;
```

Defined in: [useCreateStore.ts:43](https://github.com/TanStack/store/blob/main/packages/preact-store/src/useCreateStore.ts#L43)
Defined in: [useCreateStore.ts:42](https://github.com/TanStack/store/blob/main/packages/preact-store/src/useCreateStore.ts#L42)

Creates a stable store instance for the lifetime of the component.

Expand Down
7 changes: 5 additions & 2 deletions docs/framework/preact/reference/functions/useSelector.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ id: useSelector
title: useSelector
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function useSelector<TSource, TSelected>(
source,
selector?,
options?): TSelected;
options?
): TSelected;
```

Defined in: [useSelector.ts:129](https://github.com/TanStack/store/blob/main/packages/preact-store/src/useSelector.ts#L129)
Defined in: [useSelector.ts:128](https://github.com/TanStack/store/blob/main/packages/preact-store/src/useSelector.ts#L128)

Selects a slice of state from an atom or store and subscribes the component
to that selection.
Expand Down
2 changes: 2 additions & 0 deletions docs/framework/preact/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: "@tanstack/preact-store"
title: "@tanstack/preact-store"
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

## Interfaces

- [UseSelectorOptions](interfaces/UseSelectorOptions.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: UseSelectorOptions
title: UseSelectorOptions
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

Defined in: [useSelector.ts:10](https://github.com/TanStack/store/blob/main/packages/preact-store/src/useSelector.ts#L10)

## Type Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: createStoreContext
title: createStoreContext
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function createStoreContext<TValue>(): object;
```
Expand Down
2 changes: 2 additions & 0 deletions docs/framework/react/reference/functions/useAtom.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: useAtom
title: useAtom
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function useAtom<TValue>(atom, options?): [TValue, (fn) => void & (value) => void];
```
Expand Down
2 changes: 2 additions & 0 deletions docs/framework/react/reference/functions/useCreateAtom.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: useCreateAtom
title: useCreateAtom
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

## Call Signature

```ts
Expand Down
2 changes: 2 additions & 0 deletions docs/framework/react/reference/functions/useCreateStore.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: useCreateStore
title: useCreateStore
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

## Call Signature

```ts
Expand Down
5 changes: 4 additions & 1 deletion docs/framework/react/reference/functions/useSelector.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ id: useSelector
title: useSelector
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function useSelector<TSource, TSelected>(
source,
selector?,
options?): TSelected;
options?
): TSelected;
```

Defined in: [packages/react-store/src/useSelector.ts:60](https://github.com/TanStack/store/blob/main/packages/react-store/src/useSelector.ts#L60)
Expand Down
2 changes: 2 additions & 0 deletions docs/framework/react/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: "@tanstack/react-store"
title: "@tanstack/react-store"
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

## Interfaces

- [UseSelectorOptions](interfaces/UseSelectorOptions.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: UseSelectorOptions
title: UseSelectorOptions
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

Defined in: [packages/react-store/src/useSelector.ts:5](https://github.com/TanStack/store/blob/main/packages/react-store/src/useSelector.ts#L5)

## Type Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: createStoreContext
title: createStoreContext
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function createStoreContext<TValue>(): object;
```
Expand Down
Loading
Loading