CrocoDillon / universal-react-redux-boilerplate

Step by step creation of a Universal React + Redux Boilerplate
Other
176 stars 33 forks source link

Server-side Data Fetching #24

Closed maheshambiga closed 7 years ago

maheshambiga commented 7 years ago

I don't see any code to fetch data in server-side before sending response back to the browsers. It means that one should be able to make an API call and use its response as data to generate html using react.

CrocoDillon commented 7 years ago

The code to do server side fetching is in routes.js.

Not sure what you mean by the second sentence.