Skip to content

Commit 47fd5bf

Browse files
authored
Add warning for using "server-side rendering"
1 parent 0bc34f2 commit 47fd5bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ This part shows how you might interact with the middleware during runtime:
125125
```
126126

127127
## Server-Side Rendering
128+
129+
**Note: this feature is experimental and may be removed or changed completely in the future.**
130+
128131
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.
129132

130133
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.

0 commit comments

Comments
 (0)