We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02f9e7b commit 946bfa3Copy full SHA for 946bfa3
docs/basics/Store.md
@@ -43,7 +43,7 @@ console.log(store.getState())
43
44
// Every time the state changes, log it
45
// Note that subscribe() returns a function for unregistering the listener
46
-let unsubscribe = store.subscribe(() =>
+const unsubscribe = store.subscribe(() =>
47
console.log(store.getState())
48
)
49
0 commit comments