experimental prefetching on hover for common links

This commit is contained in:
2025-04-15 09:30:20 -04:00
parent fe7076f495
commit cfe77f98d6
10 changed files with 50 additions and 37 deletions
+5 -1
View File
@@ -40,7 +40,11 @@ const Page = async () => {
<li className={styles.post} key={slug}>
<Time date={date} format="MMM d" className={styles.date} />
<span>
<Link href={`/${POSTS_DIR}/${slug}`} dangerouslySetInnerHTML={{ __html: htmlTitle || title }} />
<Link
dynamicOnHover
href={`/${POSTS_DIR}/${slug}`}
dangerouslySetInnerHTML={{ __html: htmlTitle || title }}
/>
</span>
</li>
))}