[dialog] Server-side rendering an open dialog
Open
component: dialog
support: question
waiting for 👍
- Dominant language
- TypeScript
- Stars
- 10.9k
- Forks
- 543
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 101
Description
Right now, it doesn't seem to be possible to render an open dialog with server-side rendering. Client JavaScript is required for the dialog to appear. This can be verified by rendering a `Dialog.Root` with `defaultOpen` and disabling the browser JavaScript: it won't appear in that case.
Is there a way to make it appear? The goal is to reduce LCP and make page interactive quicker if we need to render a modal on top of the page right on page load.
Contributor guide
Assessment
This issue has not been assessed yet.