Methods
readFragment
- readFragment<FragmentType, TVariables>(options: ReadFragmentOptions<FragmentType, TVariables>, optimistic?: boolean): null | FragmentType
Type Parameters
FragmentType
TVariables = any
Parameters
Optional optimistic: boolean
Returns null | FragmentType
readQuery
- readQuery<QueryType, TVariables>(options: ReadQueryOptions<QueryType, TVariables>, optimistic?: boolean): null | QueryType
Type Parameters
QueryType
TVariables = any
Parameters
Optional optimistic: boolean
Returns null | QueryType
writeFragment
Type Parameters
TData = any
TVariables = any
Parameters
Returns void
writeQuery
Type Parameters
TData = any
TVariables = any
Parameters
Returns void