Initial Server State #71
Comments
I solved it so far so:
https://github.com/MrEfrem/react-redux-starter-kit/blob/master/src/utils/index.js
https://github.com/MrEfrem/react-redux-starter-kit/blob/master/server/middleware/render-route.js
https://github.com/MrEfrem/react-redux-starter-kit/blob/master/src/routes/index.js
https://github.com/MrEfrem/react-redux-starter-kit/blob/master/src/views/HomeView.js
|
I took as a basis from here: |
Wow awesome, this looks great. I'll take a deeper look a bit later when I get a chance. Thanks! |
Might fork the project to provide a better server environment, but for now the starter kit no longer comes with a server, so closing this for now. |
Currently initial server state is entirely separate from what may be produced through initial application events (e.g.
componentWillMount
). This is fine for basic state injections and store configuration, but ideally the server should be more closely tied to the application (especially for async actions initiated during the componentWillMount event).Investigate solutions when time allows.
The text was updated successfully, but these errors were encountered: