Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ id: injectStore
title: injectStore
---

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

# Function: injectStore()

## Call Signature
Expand All @@ -13,16 +11,20 @@ title: injectStore
function injectStore<TState, TSelected>(
store,
selector?,
options?): Signal<TSelected>
options?): Signal<TSelected>;
```

Defined in: [index.ts:19](https://github.com/TanStack/store/blob/main/packages/angular-store/src/index.ts#L19)

### Type Parameters

• **TState**
#### TState

`TState`

#### TSelected

• **TSelected** = `NoInfer`\<`TState`\>
`TSelected` = `NoInfer`\<`TState`\>

### Parameters

Expand All @@ -48,16 +50,20 @@ Defined in: [index.ts:19](https://github.com/TanStack/store/blob/main/packages/a
function injectStore<TState, TSelected>(
store,
selector?,
options?): Signal<TSelected>
options?): Signal<TSelected>;
```

Defined in: [index.ts:24](https://github.com/TanStack/store/blob/main/packages/angular-store/src/index.ts#L24)

### Type Parameters

• **TState**
#### TState

`TState`

#### TSelected

• **TSelected** = `NoInfer`\<`TState`\>
`TSelected` = `NoInfer`\<`TState`\>

### Parameters

Expand Down
4 changes: 1 addition & 3 deletions docs/framework/angular/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ id: "@tanstack/angular-store"
title: "@tanstack/angular-store"
---

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

# @tanstack/angular-store

## Functions

- [injectStore](../functions/injectstore.md)
- [injectStore](../functions/injectStore.md)
8 changes: 4 additions & 4 deletions docs/framework/react/reference/functions/shallow.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ id: shallow
title: shallow
---

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

# Function: shallow()

```ts
function shallow<T>(objA, objB): boolean
function shallow<T>(objA, objB): boolean;
```

Defined in: [index.ts:42](https://github.com/TanStack/store/blob/main/packages/react-store/src/index.ts#L42)

## Type Parameters

• **T**
### T

`T`

## Parameters

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

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

# Function: useStore()

## Call Signature
Expand All @@ -13,16 +11,20 @@ title: useStore
function useStore<TState, TSelected>(
store,
selector?,
options?): TSelected
options?): TSelected;
```

Defined in: [index.ts:15](https://github.com/TanStack/store/blob/main/packages/react-store/src/index.ts#L15)

### Type Parameters

• **TState**
#### TState

`TState`

#### TSelected

• **TSelected** = `NoInfer`\<`TState`\>
`TSelected` = `NoInfer`\<`TState`\>

### Parameters

Expand All @@ -48,16 +50,20 @@ Defined in: [index.ts:15](https://github.com/TanStack/store/blob/main/packages/r
function useStore<TState, TSelected>(
store,
selector?,
options?): TSelected
options?): TSelected;
```

Defined in: [index.ts:20](https://github.com/TanStack/store/blob/main/packages/react-store/src/index.ts#L20)

### Type Parameters

• **TState**
#### TState

`TState`

#### TSelected

• **TSelected** = `NoInfer`\<`TState`\>
`TSelected` = `NoInfer`\<`TState`\>

### Parameters

Expand Down
4 changes: 1 addition & 3 deletions docs/framework/react/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ id: "@tanstack/react-store"
title: "@tanstack/react-store"
---

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

# @tanstack/react-store

## Functions

- [shallow](../functions/shallow.md)
- [useStore](../functions/usestore.md)
- [useStore](../functions/useStore.md)
8 changes: 4 additions & 4 deletions docs/framework/solid/reference/functions/shallow.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ id: shallow
title: shallow
---

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

# Function: shallow()

```ts
function shallow<T>(objA, objB): boolean
function shallow<T>(objA, objB): boolean;
```

Defined in: [index.tsx:49](https://github.com/TanStack/store/blob/main/packages/solid-store/src/index.tsx#L49)

## Type Parameters

• **T**
### T

`T`

## Parameters

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

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

# Function: useStore()

## Call Signature
Expand All @@ -13,16 +11,20 @@ title: useStore
function useStore<TState, TSelected>(
store,
selector?,
options?): Accessor<TSelected>
options?): Accessor<TSelected>;
```

Defined in: [index.tsx:16](https://github.com/TanStack/store/blob/main/packages/solid-store/src/index.tsx#L16)

### Type Parameters

• **TState**
#### TState

`TState`

#### TSelected

• **TSelected** = `NoInfer`\<`TState`\>
`TSelected` = `NoInfer`\<`TState`\>

### Parameters

Expand All @@ -48,16 +50,20 @@ Defined in: [index.tsx:16](https://github.com/TanStack/store/blob/main/packages/
function useStore<TState, TSelected>(
store,
selector?,
options?): Accessor<TSelected>
options?): Accessor<TSelected>;
```

Defined in: [index.tsx:21](https://github.com/TanStack/store/blob/main/packages/solid-store/src/index.tsx#L21)

### Type Parameters

• **TState**
#### TState

`TState`

#### TSelected

• **TSelected** = `NoInfer`\<`TState`\>
`TSelected` = `NoInfer`\<`TState`\>

### Parameters

Expand Down
4 changes: 1 addition & 3 deletions docs/framework/solid/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ id: "@tanstack/solid-store"
title: "@tanstack/solid-store"
---

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

# @tanstack/solid-store

## Functions

- [shallow](../functions/shallow.md)
- [useStore](../functions/usestore.md)
- [useStore](../functions/useStore.md)
8 changes: 4 additions & 4 deletions docs/framework/svelte/reference/functions/shallow.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ id: shallow
title: shallow
---

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

# Function: shallow()

```ts
function shallow<T>(objA, objB): boolean
function shallow<T>(objA, objB): boolean;
```

Defined in: [index.svelte.ts:51](https://github.com/TanStack/store/blob/main/packages/svelte-store/src/index.svelte.ts#L51)

## Type Parameters

• **T**
### T

`T`

## Parameters

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

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

# Function: useStore()

## Call Signature
Expand All @@ -13,16 +11,20 @@ title: useStore
function useStore<TState, TSelected>(
store,
selector?,
options?): object
options?): object;
```

Defined in: [index.svelte.ts:14](https://github.com/TanStack/store/blob/main/packages/svelte-store/src/index.svelte.ts#L14)

### Type Parameters

• **TState**
#### TState

`TState`

#### TSelected

• **TSelected** = `NoInfer`\<`TState`\>
`TSelected` = `NoInfer`\<`TState`\>

### Parameters

Expand Down Expand Up @@ -54,16 +56,20 @@ readonly current: TSelected;
function useStore<TState, TSelected>(
store,
selector?,
options?): object
options?): object;
```

Defined in: [index.svelte.ts:19](https://github.com/TanStack/store/blob/main/packages/svelte-store/src/index.svelte.ts#L19)

### Type Parameters

• **TState**
#### TState

`TState`

#### TSelected

• **TSelected** = `NoInfer`\<`TState`\>
`TSelected` = `NoInfer`\<`TState`\>

### Parameters

Expand Down
4 changes: 1 addition & 3 deletions docs/framework/svelte/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ id: "@tanstack/svelte-store"
title: "@tanstack/svelte-store"
---

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

# @tanstack/svelte-store

## Functions

- [shallow](../functions/shallow.md)
- [useStore](../functions/usestore.md)
- [useStore](../functions/useStore.md)
8 changes: 4 additions & 4 deletions docs/framework/vue/reference/functions/shallow.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ id: shallow
title: shallow
---

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

# Function: shallow()

```ts
function shallow<T>(objA, objB): boolean
function shallow<T>(objA, objB): boolean;
```

Defined in: [index.ts:55](https://github.com/TanStack/store/blob/main/packages/vue-store/src/index.ts#L55)

## Type Parameters

• **T**
### T

`T`

## Parameters

Expand Down
Loading
Loading