Skip to content

Commit 10c5a0f

Browse files
committed
Merge pull request #706 from lemanse/master
Fixed typo in server rendering example
2 parents df38294 + 81d44e1 commit 10c5a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/run.md

Lines changed: 1 addition & 1 deletion
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)