Edoardo Scibona

Results 4 comments of Edoardo Scibona

I found that using a [dynamic import with no SSR](https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr) for components that rely on dark mode state for rendering works. For example, I have a `Navbar` component containing a...

@man-trackunit There is `.catch()` now. See https://zod.dev/?id=catch.

@podlomar Yeah, I deleted the comment after posting because I saw my error too. I don't think there's an easy inline solution, the best way is probably to extract the...

A quick solution (sacrificing the open animation) to restore the default `display:none` behavior seems to be using `open:modal` instead of `modal` as the dialog class. ```html ```