Relayとは Meta 製の GraphQL クライアント。 記事執筆時の最新バージョン:Relay v16.1.0 Cacheについて 一口にキャッシュにもいくつか種類があり、ここでは以下2つのキャッシュを扱う。 Query Cache(Document Cache) query単位のcache dataのこと consoleで以下オブジェクトに情報が格納されていることが確認できる __RELAY_DEVTOOLS_HOOK__.environments.get(1)._store._roots store生成時のoptionで有効期限を設定できる(後述) valueにfetchTimeを含んでいるため、これをもとにキャッシュの有効期限を判断している模様 Store data(Normalized Cache) Relay Storeに格納される正規化されたdataのこと Relay
This specification aims to provide an option for GraphQL clients to consistently handle pagination best practices with support for related metadata via a GraphQL server. This spec proposes calling this pattern “Connections” and exposing them in a standardized way. In the query, the connection model provides a standard mechanism for slicing and paginating the result set. In the response, the connec
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く