Skip to content

Commit de6708e

Browse files
authored
docs(core): lower heading levels (#171)
1 parent 62f9eed commit de6708e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/quick-start.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ TanStack Store is, first and foremost, a framework-agnostic signals implementati
77

88
It can be used with any of our framework adapters, but can also be used in vanilla JavaScript or TypeScript. It's currently used to power many of our library's internals.
99

10-
# Store
10+
## Store
1111

1212
You'll start by creating a new store instance, which is a wrapper around your data:
1313

@@ -56,7 +56,7 @@ const count = new Store(0, {
5656
})
5757
```
5858

59-
## Batch Updates
59+
### Batch Updates
6060

6161
You can batch updates to a store by using the `batch` function:
6262

@@ -70,7 +70,7 @@ batch(() => {
7070
});
7171
```
7272

73-
# Derived
73+
## Derived
7474

7575
You can also use the `Derived` class to create derived values that lazily update when their dependencies change:
7676

@@ -90,7 +90,7 @@ const unmount = double.mount();
9090
unmount();
9191
```
9292

93-
## Previous Derived Value
93+
### Previous Derived Value
9494

9595
You can access the previous value of a derived computation by using the `prevVal` argument passed to the `fn` function:
9696

@@ -110,7 +110,7 @@ count.setState(() => 2);
110110
double.state; // 3
111111
```
112112

113-
## Dependency Values
113+
### Dependency Values
114114

115115
You can access the values of the dependencies of a derived computation by using the `prevDepVals` and `currDepVals` arguments passed to the `fn` function:
116116

@@ -130,7 +130,7 @@ count.setState(() => 2);
130130
double.state; // 3
131131
```
132132

133-
# Effects
133+
## Effects
134134

135135
You can also use the `Effect` class to manage side effects across multiple stores and derived values:
136136

0 commit comments

Comments
 (0)