SSR/Browser API questions #33594
Unanswered
tonyhallett
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are differences in the arguments passed to
https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/cache-dir/static-entry.js
https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/cache-dir/develop-static-entry.js
https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/cache-dir/ssr-develop-static-entry.js
static-entry.js onPreRenderHTML has an additional field pathPrefix
Should the pathPrefix be added to the other two js files and then be documented ?
replaceRenderer is not available in develop-static-entry but in the other two the pathPrefix field is present. Should this be documented ?
There are additional fields for static-entry for onRenderBody. They are not documented. Should they be ?
--
wrapRootElement is different for
SSR
and Browser
should the pathname (pagePath) be available to browser api ?
Beta Was this translation helpful? Give feedback.
All reactions