Skip to content

Commit 8f1a9d4

Browse files
authored
Enhance description of state management stores
Revised explanation of stores for clarity and detail.
1 parent 0de64a5 commit 8f1a9d4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/routes/concepts/stores.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ title: Stores
33
order: 6
44
---
55

6-
Similar to [signals](/concepts/signals), stores are a state management primitive.
7-
However, while signals manage a single piece of state, stores create a centralized location to reduce code redundancy.
8-
Within Solid, these stores can spawn a collection of reactive signals, each corresponding to a particular property which can be useful when working with complex state.
6+
Stores are a state management primitive that provide a centralized location to reduce code redundancy. Unlike [signals](/concepts/signals), which manage a single piece of state and re-render entirely when updated, stores retain fine-grained reactivity by updating only the specific properties that change. They can generate a collection of reactive signals, each tied to a specific property, making them ideal for managing complex state efficiently.
97

108
## Creating a store
119

0 commit comments

Comments
 (0)