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 e0513b6 commit 53ce7b4Copy full SHA for 53ce7b4
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