rpg-boilerplate icon indicating copy to clipboard operation
rpg-boilerplate copied to clipboard

Fix SSR server

Open chadfurman opened this issue 7 years ago • 0 comments

Right now, the SSR server is quite broken. Relay does not fire queries in the backend. This causes the frontend to flash a background image (#23) and then show content. On other sites, this renders as a progress bar (depending on how you change App.js etc)

Ultimately, the SSR server is the one responsible for displaying the content correctly. Additional improvements to page rendering can be achieved in another ticket by separating the header from the routing layer in the private / public templates. At that point, the SSR server would render everything and show it to the client, who would then only make small network requests, using the pre-rendered relay query (or environment?) cache...

chadfurman avatar Feb 24 '18 15:02 chadfurman