Skip to content

fix(mdx): extract CustomLink to 'use client' component for SSG compatibility - #313

Merged
fworks-tech merged 1 commit into
mainfrom
fix/custom-link-client-component
Sep 17, 2026
Merged

fworks-tech merged 1 commit into
mainfrom
fix/custom-link-client-component

Conversation

@fworks-tech

Copy link
Copy Markdown
Owner

Extracts CustomLink from mdx.tsx into its own 'use client' component file. Fixes SSG prerendering failure when blog posts use internal markdown links (e.g. text). The Anchor+Link pattern works fine within a client boundary but breaks when the parent component isn't marked 'use client'.

@fworks-tech fworks-tech self-assigned this Sep 17, 2026
@fworks-tech
fworks-tech merged commit 22a689e into main Sep 17, 2026
5 checks passed
@fworks-tech
fworks-tech deleted the fix/custom-link-client-component branch September 17, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant