We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acb0159 commit d929196Copy full SHA for d929196
docs/javascript/react-router.md
@@ -61,7 +61,7 @@ const ReactServerRenderer = (props, railsContext) => {
61
62
const { location } = railsContext;
63
64
- const html = ReactDOMServer.renderToString(
+ const html = renderToString(
65
<Provider store={store}>
66
<StaticRouter location={location} context={context} props={props}>
67
<App />
0 commit comments