Comments (4)
You should not use fetch directly, but some factory which wraps fetch on the server. This factory should be injected for example in react context or relay environment
from isomorphic-relay.
I'm not using fetch directly, relay does under the hood. It uses isomorphic fetch which uses node fetch on the server side, and regular fetch on the client's.
from isomorphic-relay.
Aha :-)
from isomorphic-relay.
I updated the README.
from isomorphic-relay.
Related Issues (20)
- Peer Dependencies HOT 3
- Query running on both client and server. HOT 10
- Network Layer making multiple requests in NodeJS
- injectPreparedData on the server side? HOT 10
- Help needed in applying isomorphic-relay HOT 1
- Question: Parse session in graphql HOT 1
- Uncaught TypeError: Cannot read property 'id' of undefined in getConfigs() HOT 3
- complex type as argument in queries - fetchWithRetries(): Still no successful response after 1 retries, giving up. HOT 3
- passport.js req.user issue on SSR
- Use it only for backend? HOT 1
- support for Relay 0.10.0 ? HOT 2
- Differences between Relay.Renderer and IsomorphicRelay.Renderer HOT 1
- Why is prepareInitialRender async? HOT 2
- Why does Relay sometimes prefix query keys with underscores and random strings? HOT 3
- How to load data for a RootContainer supplied to Router on server side? HOT 6
- Example todo app has 'Invariant Violation: RelayQueryNode: Abstract class cannot be instantiated'
- Passing preloadedRequests to prepareData for queries with aliased parameterized fields
- Upgrade to relay modern HOT 1
- Is it possible to complete reload of component data on the browser ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isomorphic-relay.