Skip to content

Commit 860200b

Browse files
committed
tweak: readme on chronobranches
1 parent f1566eb commit 860200b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ import {signal, effect, computed} from "@e280/strata"
205205
})
206206
```
207207
- *big-brain moment:* the whole chronicle *itself* is stored in the state.. serializable.. think persistence — user can close their project, reopen, and their undo/redo history is still chillin' — *brat girl summer*
208-
- second, make a `Chronobranch` which is like a branch
208+
- second, make a `Chronobranch` which is like a branch, but is concerned with history
209209
```ts
210210
const snacks = trunk.chronobranch(64, s => s.snacks)
211211
// \
@@ -226,7 +226,7 @@ import {signal, effect, computed} from "@e280/strata"
226226
snacks.undoable // 2
227227
snacks.redoable // 1
228228
```
229-
- chronobranch can have its own branch — all their mutations advance history
229+
- chronobranch can have its own branches — all their mutations advance history
230230
- plz pinky-swear right now, that you won't create a chronobranch under a branch under another chronobranch 💀
231231

232232
<br/>

0 commit comments

Comments
 (0)