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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I tried building a live Markdown editor in Remix (like Obsidian or Bear) using Tiptap.
(react-router v7)
But Remix’s default SSR kept causing hydration errors, and even with:
useEffect
,typeof window !== 'undefined'
dynamic import,
lazy + Suspense
custom
<ClientOnly>
wrapper…it still didn’t work.
onUpdate
never fired, and inputRules like# heading
didn’t trigger.I gave up and switched to a read-only preview model (Markdown → HTML via
marked
→ Tiptap), which works fine.But I’m still wondering:
Is there a proper way to use client-only interactive components like this in Remix?
Thanks — and sorry if the English is awkward, I’m Korean and used translation. 🙏
Beta Was this translation helpful? Give feedback.
All reactions