go-starter-kit icon indicating copy to clipboard operation
go-starter-kit copied to clipboard

Stopped rendering server side

Open preppypiet opened this issue 7 years ago • 3 comments

Hi, great library, thanks! I think a recent (as in last day or so) change in one of the node libraries used by the project is causing server-side rendering to fail. I haven't had a chance to take a look at exactly what's going on, and I have no idea yet what library is causing this, but you can reproduce it by cloning this repo, make install and make serve. In your browser, disable javascript for the page and you'll see an empty page returned from server when refreshing the page. This is happening on both linux and macos for me. I know it's something client-side, because I had an old bundle.js produced a day or two ago in another folder, and by dropping it in, it worked again. Something in the webpack output has changed I think. I'll look into this some more to see where exactly the issue is occurring, but thought I'd let you know in case you might have any ideas? I can see that if I remove the <Provider> in toString.js, the app renders server side again. The issue is probably something related to the redux store.

preppypiet avatar Apr 11 '17 23:04 preppypiet

Hi, yup, unfortunately client-side deps have changed dramatically so the project could not even start correctly. I will fix this asap, but have no chance to predict when it can happen. B/c of lack of time. I would be really appreciate if some good man will help with this issue.

olebedev avatar Apr 12 '17 04:04 olebedev

I'd love to help! I should have some time this weekend to take a proper look and see what's going on. Can't promise anything, but I'll take a look as soon as I can.

preppypiet avatar Apr 12 '17 08:04 preppypiet

Resolving all JS warnings, got the server side compilation again.

senthilsivanath avatar Feb 07 '18 05:02 senthilsivanath