Types

SolidStore / Store / StoreNode

SolidStore API reference.


Import

import type { SolidStore } from "solid-js";

Type signature

namespace SolidStore {
export interface Unwrappable {}
}

A read-only view of a store's value as seen by consumers. Mutate it via the paired StoreSetter.


Import

import type { Store } from "solid-js";

Type signature

type Store<T> = Readonly<T>;

StoreNode API reference.


Import

import type { StoreNode } from "solid-js";

Type signature

type StoreNode = {
[$PROXY]: any;
[STORE_VALUE]: Record<PropertyKey, any>;
[STORE_OVERRIDE]?: Record<PropertyKey, any>;
[STORE_OPTIMISTIC_OVERRIDE]?: Record<PropertyKey, any>;
[STORE_NODE]?: DataNodes;
[STORE_HAS]?: DataNodes;
[STORE_CUSTOM_PROTO]?: boolean;
[STORE_WRAP]?: (value: any, target?: StoreNode) => any;
[STORE_LOOKUP]?: WeakMap<any, any>;
[STORE_FIREWALL]?: Computed<any>;
[STORE_OPTIMISTIC]?: boolean;
[STORE_SNAPSHOT_PROPS]?: Record<PropertyKey, any>;
};

Properties

[$PROXY]

  • Type: any

[STORE_VALUE]

  • Type: Record&lt;PropertyKey, any&gt;

[STORE_OVERRIDE]

  • Type: Record&lt;PropertyKey, any&gt;

[STORE_OPTIMISTIC_OVERRIDE]

  • Type: Record&lt;PropertyKey, any&gt;

[STORE_NODE]

  • Type: DataNodes

[STORE_HAS]

  • Type: DataNodes

[STORE_CUSTOM_PROTO]

  • Type: boolean

[STORE_WRAP]

  • Type: (value: any, target?: StoreNode) => any

[STORE_LOOKUP]

  • Type: WeakMap&lt;any, any&gt;

[STORE_FIREWALL]

  • Type: Computed&lt;any&gt;

[STORE_OPTIMISTIC]

  • Type: boolean

[STORE_SNAPSHOT_PROPS]

  • Type: Record&lt;PropertyKey, any&gt;
Last updated: 7/4/26, 6:21 PMEdit this pageReport an issue with this page