Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sibelius/relay-modern-network-deep-dive
https://medium.com/@sibelius/relay-modern-network-deep-dive-ec187629dfd3
https://github.com/sibelius/relay-modern-network-deep-dive
graphql relay-modern
Last synced: 23 days ago
JSON representation
https://medium.com/@sibelius/relay-modern-network-deep-dive-ec187629dfd3
- Host: GitHub
- URL: https://github.com/sibelius/relay-modern-network-deep-dive
- Owner: sibelius
- License: mit
- Created: 2018-07-22T12:40:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-23T08:52:58.000Z (over 6 years ago)
- Last Synced: 2024-10-19T19:54:22.313Z (26 days ago)
- Topics: graphql, relay-modern
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 44
- Watchers: 5
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - relay-modern-network-deep-dive - modern-network-deep-dive-ec187629dfd3 | sibelius | 42 | (JavaScript)
README
# Relay Modern Network Deep Dive
This repo provides incrementally more powerfull implementations to use in Relay Modern Network
Read the Blog post about it: https://medium.com/@sibelius/relay-modern-network-deep-dive-ec187629dfd3# Simple
Simple network fetch function that send a request (query, mutation) to a GraphQL server
and return a GraphQL Response to fullfill Relay Environment# With Uploadables
Network that also handle send uploadables (files) to graphql server using FormData# With Cache
Using RelayQueryResponseCache to enable cache of queries with a predetermined TTL# Observables
Let you resolve more than one request at once, necessary for
GraphQL Live Queries (Polling) (https://github.com/facebook/relay/issues/2174) and
Deferrable Queries (https://github.com/facebook/relay/issues/2194)# Deferrable Queries
Built on top of observables network, it will resolve send one query to a GraphQL server per time,
managing dependencies among queries (https://github.com/facebook/relay/issues/2194)