Skip to content

Commit cf36cfe

Browse files
authored
docs: add "exception" to a sentence (#1882 by @abhagsain)
[skip ci]
1 parent b98129f commit cf36cfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/intro/philosophy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ For futher reading: the conceptual difference between snapshots, patches and act
9090
Finally, MST has built-in support for references, identifiers, dependency injection, change recording and circular type definitions (even across files).
9191
Even fancier, it analyses liveliness of objects, failing early when you try to access accidentally cached information! (More on that later)
9292

93-
A unique feature of MST is that it offers liveliness guarantees. MST will throw when reading or writing from objects that are no longer part of a state tree. This protects you against accidental stale reads of objects still referred by, for example, a closure.
93+
A unique feature of MST is that it offers liveliness guarantees. MST will throw an exception when reading or writing from objects that are no longer part of a state tree. This protects you against accidental stale reads of objects still referred by, for example, a closure.
9494

9595
```javascript
9696
const oldTodo = store.todos[0]

0 commit comments

Comments
 (0)