We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 537b961 + 90e2867 commit 968f6e1Copy full SHA for 968f6e1
content/guide/11-state-management.md
@@ -28,7 +28,7 @@ Each instance of `Store` has `get`, `set`, `on` and `fire` methods that behave i
28
```js
29
const { name } = store.get(); // 'world'
30
31
-store.on('state', ({ current }) => {
+store.on('state', ({ current, changed, previous }) => {
32
console.log(`hello ${current.name}`);
33
});
34
0 commit comments