Skip to content

Commit ce2fe93

Browse files
Update src/routes/concepts/stores.mdx
Co-authored-by: Sarah <hello@sarahgerrard.me>
1 parent 8f1a9d4 commit ce2fe93

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/routes/concepts/stores.mdx

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

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.
6+
Stores are a state management primitive that provide a centralized way to handle shared data and reduce redundancy.
7+
Unlike [signals](/concepts/signals), which track a single value and trigger a full re-render when updated, stores maintain fine-grained reactivity by updating only the properties that change.
8+
They can produce a collection of reactive signals, each linked to an individual property, making them well-suited for managing complex state efficiently.
79

810
## Creating a store
911

0 commit comments

Comments
 (0)