2018-10-18から1日間の記事一覧
何度も調べそうなので、Apollo ClientのrefetchQueriesのFlow Typeをメモ。 // @flow import type { ExecutionResult } from 'graphql'; import type { RefetchQueryDescription } from 'apollo-client'; type HogePayloadType = { // ... refetchQueries?: …
何度も調べそうなので、Apollo ClientのrefetchQueriesのFlow Typeをメモ。 // @flow import type { ExecutionResult } from 'graphql'; import type { RefetchQueryDescription } from 'apollo-client'; type HogePayloadType = { // ... refetchQueries?: …