You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/types-and-terminology.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ A store-creating function is a function that creates a Redux store. Like with di
97
97
### Higher-order store
98
98
99
99
```js
100
-
type HigherOrderStore = CreateStore
100
+
type HigherOrderStore=(next:CreateStore) =>CreateStore
101
101
```
102
102
103
103
A higher-order store is a higher-order function that composes a store-creating function to return a new store-creating function. This is similar to middleware in that it allows you to alter the store interface in a composable way.
0 commit comments