Skip to content

Commit 81d44e1

Browse files
committed
Fixed typo in server rendering example
Fixed typo `req.send` -> `res.send`.
1 parent 5fa86d5 commit 81d44e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/run.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ something.serve(function (req, res) {
138138
// could fetch data like in the previous example
139139
fetchData(state.matches).then(function (data) {
140140
var html = React.renderToString(<Handler data={data} />);
141-
req.send(html);
141+
res.send(html);
142142
});
143143
});
144144
});

0 commit comments

Comments
 (0)