import React , { ReactNode } from 'react' ; import { Client } from '../../client/client.types' ; import { ClientContext } from './clientContext' ; export const ClientContextProvider = ( { client , children } ) => { return ( < ClientContext . Provider value = { { query : client . query , cache : client . cache , suspenseCache : client . suspenseCache } } > { children } < /ClientContext.Provider>); } ;