UNPKG

react-use-api

Version:

<div align="center"> <h1> <img width="120" src="./icon.svg"> <br/> React useApi() <br /> <br /> </h1> </div>

4 lines (3 loc) 396 B
export declare const feedRequests: (context: ReactUseApi.Context, ssrHtml: string, maxRequests?: number) => any; export declare const injectSSRHtml: (context: ReactUseApi.CustomContext, renderSSR?: ReactUseApi.Settings['renderSSR'], postProcess?: (ssrHtml: string, apiCacheScript: string) => string) => Promise<string>; export declare const loadApiCache: (context?: ReactUseApi.Context) => void;