Closed jakepusateri closed 8 years ago
We need this capability.
Thank you @jakepusateri!
Note that I changed preloadedRequests
to be a third argument of prepareData
.
This is now available in v0.7.3 of isomorphic-relay, and I also added preloadedRequests
as a third argument to prepareData
of isomorphic-relay-router in v0.8.2.
PR for #50
Specifying environment allows injecting data already available locally. Specifying forceFetch allows
primeCache
to be used instead and a network request to not be needed if all data is present from preloading.