-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
When I build a notebook with :ssr true and spin up a local server to load it in the browser, I cannot interact with the interface at all, specifically:
- light-/darkmode switch
- TOC button
- fold/unfold buttons in code viewer
- “elided” buttons in code viewer
- etc.
Nothing happens at all if I click any of these. Event handlers from custom render functions also won’t get triggered.
This is probably due to missing hydration, since there seems to be no code in the generated html file to attach event listeners, etc. I don’t know anything about how SSR works in React, so I hope this is an easy thing to fix.
I created a test repo where I included all the cases listed above and build the notebook so you can see the generated html file: https://github.com/formsandlines/clerk-ssr-interactive-test It uses the latest commit from Clerks main branch.
dobladez
Metadata
Metadata
Assignees
Labels
No labels