Closed alexis-opolka closed 1 year ago
0b23b79174016821a346e45d3b383143ccb6c6d3 should fix this issue.
The issue was the use of the _app.tsx
file while NextJS now uses layout.tsx
instead.
It came with the the problem of Server Side Rendering (SSR) but a workaround is to set the use client
directive at the top of layout.tsx
and page.tsx
to disable SSR for the current page and send it to the client for rendering.
It also came with an SSR Source mismatch issue which was resolved using the SSRProvider
from @primer/react
and a custom component called NoSSR
that prevents SSR source to be created for its children.
Github Primer Theming system seems to not take into account the modification of the theme.
See #3573 for more details
This issue is about the version on the theme-system-github-primer branch.