Skip to content

Commit

Permalink
Grammatical fixes (#213)
Browse files Browse the repository at this point in the history
* Grammatical fixes

* Update README.md

* Updates with suggested changes
  • Loading branch information
eugeniaguerrero authored and shellscape committed Aug 18, 2017
1 parent 762797e commit 441335c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -138,7 +138,7 @@ This part shows how you might interact with the middleware during runtime:

In order to develop a server-side rendering application, we need access to the [`stats`](https://github.com/webpack/docs/wiki/node.js-api#stats), which is generated with the latest build.

In the server-side rendering mode, __webpack-dev-middleware__ would sets the `stat` to `res.locals.webpackStats` before invoking the next middleware, where we can render pages and response to clients.
In the server-side rendering mode, __webpack-dev-middleware__ sets the `stat` to `res.locals.webpackStats` before invoking the next middleware, allowing a developer to render the page body and manage the response to clients.

Notice that requests for bundle files would still be responded by __webpack-dev-middleware__ and all requests will be pending until the building process is finished in the server-side rendering mode.

Expand Down

0 comments on commit 441335c

Please sign in to comment.