Skip to content

Commit 1ba58f3

Browse files
committed
update
1 parent 41550a3 commit 1ba58f3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/routes/reference/store-utilities/create-mutable.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { createMutable } from "solid-js/store";
2424
## Type
2525

2626
```ts
27-
function createMutable<T extends Record<PropertyKey, any>>(
27+
function createMutable<T extends StoreNode>(
2828
state: T,
2929
options?: { name?: string }
3030
): T;
@@ -54,9 +54,9 @@ Mutable store proxy.
5454

5555
## Behavior
5656

57-
- Property reads and writes go through a proxy.
58-
- Nested property access is reactive.
59-
- Mutations update the store in place.
57+
- `createMutable` creates mutable shared state through a reactive proxy. Property reads and writes go through that proxy, and nested property access is reactive.
58+
- Writes, deletes, and array mutator methods are batched through the proxy while updating the store in place.
59+
- This is primarily a client-side reactive proxy mechanism.
6060
- Getters and setters defined on the initial object remain available on the mutable store.
6161

6262
## Examples

0 commit comments

Comments
 (0)