diff --git a/src/server.js b/src/server.js index 2456fa9e..bdb5d641 100644 --- a/src/server.js +++ b/src/server.js @@ -629,9 +629,11 @@ app.get('*', async (req, res, next) => { } const data = { ...route }; - data.children = ReactDOM.renderToString( - {route.component}, - ); + // TODO: get Onsen working with SSR, or at least instead only running on the client + // TODO: See https://github.com/kriasoft/react-starter-kit/issues/1737 + // data.children = ReactDOM.renderToString( + // {route.component}, + // ); data.styles = [{ id: 'css', cssText: [...css].join('') }]; const scripts = new Set();