relay-modern-network-deep-dive:https

  • d7_861870
    了解作者
  • 40.2KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-28 06:26
    上传日期
中继现代网络深度学习 此存储库提供了越来越强大的实现,可在Relay Modern Network中使用。请阅读有关它的博客文章: : 简单的 简单的网络获取功能,可将请求(查询,突变)发送到GraphQL服务器,并将GraphQL响应返回到完全填充中继环境 带有Uploadables 也可以使用FormData处理将uploadableable(文件)发送到graphql服务器的网络 带缓存 使用RelayQueryResponseCache启用具有预定TTL的查询的缓存 可观察的 让您一次解决多个请求,这是GraphQL实时查询(轮询)( )和Deferrable查询( )所必需的 ) 可延迟查询 建立在可观察网络的顶部,它将解析每次向GraphQL服务器发送一个查询,管理查询之间的依赖关系( )
relay-modern-network-deep-dive-master.zip
  • relay-modern-network-deep-dive-master
  • .flowconfig
    71B
  • yarn.lock
    58.7KB
  • src
  • 3-cache
  • helpers.js
    1.7KB
  • Environment.js
    548B
  • cacheHandler.js
    1.1KB
  • fetchFunction.js
    1.1KB
  • 2-uploadables
  • helpers.js
    1.7KB
  • fetchFunction.js
    1.4KB
  • 5-deferrable-queries
  • helpers.js
    1.7KB
  • Environment.js
    560B
  • cacheHandler.js
    1.4KB
  • executeFunction.js
    1.5KB
  • batchRequestQuery.js
    1.2KB
  • fetchFunction.js
    1.6KB
  • 1-simple
  • fetchFunction.js
    1.5KB
  • 4-observables
  • helpers.js
    1.7KB
  • Environment.js
    560B
  • executeFunction.js
    513B
  • fetchFunction.js
    1.5KB
  • flow-typed
  • react-relay.js
    24.1KB
  • relay-runtime.js
    7.5KB
  • LICENSE
    1KB
  • README.md
    1018B
  • .gitignore
    914B
  • package.json
    513B
内容介绍
# 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)
评论
    相关推荐