GitHub

provideDaffDriverMagentoTransferState

Constant

import { provideDaffDriverMagentoTransferState } from '@daffodil/driver/magento'

Holds the logic for hydrating the Apollo cache with the server's transferred state. It is recommended to use withDaffDriverMagentoTransferState with provideMagentoDriver to provide this functionality automatically.

const provideDaffDriverMagentoTransferState: (cache: ApolloCache<NormalizedCacheObject>) => EnvironmentProviders