osenvosem / react-mobx-boilerplate

React + React Router + MobX boilerplate
MIT License
20 stars 4 forks source link

Server side rendering #5

Open euge opened 8 years ago

euge commented 8 years ago

Hey thanks for the great project! I am seeing one thing though that doesn't seem to be working quite right...the server side rendering. If i run the project in prod mode and curl or view source at "/notes" I don't actually see the rendered content for notes. Thanks a ton for this!

osenvosem commented 8 years ago

Thank you. At this moment only interface is rendered on the server side, sorry. Maybe I will figure it out when I have some time.

kieusonlam commented 8 years ago

I think this https://github.com/kuuup/mobx-ssr-example and this https://medium.com/@foxhound87/state-management-hydration-with-mobx-we-must-react-ep-05-1922a72453c6#.rko7f1r83 might help.

euge commented 8 years ago

@kieusonlam thanks so much for those links. super helpful!