danielstern / react-express-examplar

27 stars 12 forks source link

Server Side rendering #2

Open kanav-juneja opened 8 years ago

kanav-juneja commented 8 years ago

When rendering the app server side, there is still a flicker in the UI. Initially, only the heading and input appear, the list appears after a flicker. Logging the React HTML String on server, I found that the item list wasn't in it. The code that iterates over grocery items and returns item HTML per item in array, wasn't being executed server side. What would that be?