Skip to content

Commit

Permalink
update deprecated renderToString api in example
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetez committed Mar 17, 2016
1 parent 1642154 commit 37c50ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function makeSandwichesForEverybody() {
store.dispatch(
makeSandwichesForEverybody()
).then(() =>
response.send(React.renderToString(<MyApp store={store} />))
response.send(ReactDOMServer.renderToString(<MyApp store={store} />))
);

// I can also dispatch a thunk async action from a component
Expand Down

0 comments on commit 37c50ea

Please sign in to comment.