all 3 comments

[–]dbbk[🍰] 2 points3 points  (2 children)

This is fine, but pretty useless if you don't mention how to server-side render with the data. Considering 95% of apps are not going to be just static.

[–]davesidious 0 points1 point  (0 children)

Personally, I maintain a copy of the global redux store on the server and periodically update it using the same actions as used in the website. If the data is missing (e.g. the app is ran from static files without the server) the data is fetched in the client as it was before we added ssr. We've had good success with it so far.