Skip to content

Commit 3c777e0

Browse files
authored
Fixed typo
1 parent 1c087cb commit 3c777e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/understanding/history-and-design/middleware.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ const crashReporter = store => next => action => {
247247

248248
Now middleware takes the `next()` dispatch function, and returns a dispatch function, which in turn serves as `next()` to the middleware to the left, and so on. It's still useful to have access to some store methods like `getState()`, so `store` stays available as the top-level argument.
249249

250-
### Attempt #6: Naïvely Applying the Middleware
250+
### Attempt #6: Naively Applying the Middleware
251251

252252
Instead of `applyMiddlewareByMonkeypatching()`, we could write `applyMiddleware()` that first obtains the final, fully wrapped `dispatch()` function, and returns a copy of the store using it:
253253

0 commit comments

Comments
 (0)