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.
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?