You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ajhenry were investigating some issues with Server Side Rendering in the Next App. We noted that the entire page seemed to be client-side rendered, and static content wasn't preserved/cached between refreshes. It seems like there were a couple of issues:
Add documentation page and banner to new users #113 added documentation by parsing markdown files at runtime. Part of this involved adding a webpack config option to the Next config to be able to read in the .md files. This appears to be causing issues with server side rendering.
We also noticed that the Primer theme only ever hydrates client-side, causing certain colors to flicker on page change.
I'm proposing we do a couple things to address this:
Try to remove our webpack dependency. We could potentially move the Markdown -> HTML generation out of the runtime generation and into the initial compile step instead. This should improve our SSR capabilities
@ajhenry were investigating some issues with Server Side Rendering in the Next App. We noted that the entire page seemed to be client-side rendered, and static content wasn't preserved/cached between refreshes. It seems like there were a couple of issues:
webpack
config option to the Next config to be able to read in the.md
files. This appears to be causing issues with server side rendering.I'm proposing we do a couple things to address this:
The text was updated successfully, but these errors were encountered: