https://github.com/facebook/relay/issues/136 has relevant discussion. The proposed module to use is https://www.npmjs.com/package/isomorphic-fetch