@apollo/client-react-streaming
Version:
This package provides building blocks to create framework-level integration of Apollo Client with React's streaming SSR. See the [@apollo/client-integration-nextjs](https://github.com/apollographql/apollo-client-integrations/tree/main/packages/nextjs) pac
11 lines • 492 B
TypeScript
/**
* A hook that mostly acts as an identity function.
* It will only behave differently during
* the first render on the client, in which case it will
* try to return the last value it was called with by
* the same component during SSR. If that is successful,
* it will schedule another rerender, to after hydration
* the component can change to client-side values instead.
*/
export declare function useTransportValue<T>(value: T): T;
//# sourceMappingURL=useTransportValue.d.ts.map