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 b86acd1 commit 45b61baCopy full SHA for 45b61ba
node_package/src/serverRenderReactComponent.ts
@@ -41,6 +41,8 @@ function processServerRenderHash(result: ServerRenderResult, options: RenderOpti
41
const redirectPath = redirectLocation.pathname + redirectLocation.search;
42
console.log(`ROUTER REDIRECT: ${options.componentName} to dom node with id: ${options.domNodeId}, redirect to ${redirectPath}`);
43
}
44
+ // For redirects on server rendering, we can't stop Rails from returning the same result.
45
+ // Possibly, someday, we could have the rails server redirect.
46
htmlResult = '';
47
} else {
48
htmlResult = result.renderedHtml as string;
0 commit comments