- {link().title}
+ {link.title}
-
+
{(author) => (
<>
- {author()}
- ·
+ {author}
+ ·
>
)}
- {link().description}
+ {link.description}
- {new URL(link().url).host}
+ {new URL(link.url).host}
-
+ {/* `keyed`: same race shape; siteName can flip to null. */}
+
{(siteName) => (
<>
·
- {siteName()}
+ {siteName}
>
)}
@@ -134,40 +137,41 @@ export function LinkPreview(props: LinkPreviewProps) {