injectSSRHtml
Arguments of injectSSRHtml
injectSSRHtml(
context: ReactUseApi.CustomContext,
renderSSR?: () => string
postProcess?: (ssrHtml: string, apiCacheScript: string) => string,
): string
You are able to customize the html returned from injectSSRHtml by postProcess
.
By default, injectSSRHtml returns ssrHtml + apiCacheScript
.
Please refer to here for more details regarding context.
Last updated
Was this helpful?