cereallarceny / cra-ssr

[DEPRECATED] Server-side rendering with create-react-app, React Router v4, Helmet, Redux, and Thunk
484 stars 118 forks source link

API Call on Server #21

Closed james-lukensow closed 6 years ago

james-lukensow commented 6 years ago

Coming from NextJS, there is the ability to make api calls on the server with getInitialProps and the checking of isServer. The question is, do we have the ability to do the same?

Thoughts are, say we want to run an async / await statement on the server to fetch data for the request.

It appears that this may be happening in modules?