interface IApolloClientRegenerator {
    children?: any;
    options: IApolloClientGeneratorOptions;
    regenerateApolloClient?: ((options) => ApolloClient<any>);
    useStateApolloClient?: ((defaultValue) => [ApolloClient<any>, ((apolloClient) => any)]);
}

Properties

children?: any
options: IApolloClientGeneratorOptions
regenerateApolloClient?: ((options) => ApolloClient<any>)

Type declaration

    • (options): ApolloClient<any>
    • Parameters

      • options: IApolloClientGeneratorOptions

      Returns ApolloClient<any>

useStateApolloClient?: ((defaultValue) => [ApolloClient<any>, ((apolloClient) => any)])

Type declaration

    • (defaultValue): [ApolloClient<any>, ((apolloClient) => any)]
    • Parameters

      • defaultValue: ApolloClient<any>

      Returns [ApolloClient<any>, ((apolloClient) => any)]