diff --git a/doc/00 Guides/Server Rendering.md b/doc/00 Guides/Server Rendering.md index fc68ee71b9..e5212bf67e 100644 --- a/doc/00 Guides/Server Rendering.md +++ b/doc/00 Guides/Server Rendering.md @@ -25,7 +25,8 @@ synchronously. ```js // server.js -import { Router, Location } from 'react-router'; +import Router from 'react-router'; +import Location from 'react-router/lib/Location'; import routes from './routes'; // you'll want to configure your server to serve up static assets, and @@ -38,7 +39,7 @@ serveNonStaticPaths((req, res) => { // branch of components in the initialState fetchSomeData(initialState.components, (error, initialData) => { var html = React.renderToString( - + ); res.send(renderFullPage(html, initialData)); });