Skip to content

Update from support feedback: clarify custom components are client-rendered - #7672

Merged
ethanpalm merged 2 commits into
mainfrom
mintlify/acc79474
Oct 8, 2026
Merged

ethanpalm merged 2 commits into
mainfrom
mintlify/acc79474

Conversation

@mintlify

@mintlify mintlify Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

The React components page now says plainly that Mintlify leaves custom components (inline exports and /snippets/ imports) out of the server-rendered HTML. They render in the browser after the page loads. The page also recommends built-in components for content that must be in the initial HTML or must not flash. A new help center article, named for the symptom, covers the pop-in and missing-from-source behavior and links back to the canonical page. I checked the server-side no-JS compile (remarkMdxRemoveJs) in the code. The .md/llms.txt output is built from the MDX source, so this behavior doesn't affect it.

Support context


Note

Low Risk
Documentation and help-center navigation only; no product or rendering code changes.

Overview
Clarifies that custom React components (inline export in MDX and named imports from /snippets/*.jsx) are client-rendered only and are omitted from server HTML, while MDX snippet imports still render on the server.

The React components guide’s Considerations section is expanded with this distinction, tighter SEO/flash guidance, and a recommendation to use built-in components when content must appear in the initial HTML without layout shift.

A new help center article targets the symptom (“flash” or missing content in view source), explains the behavior, suggests built-in replacements, and is added to the help center nav in docs.json.

Reviewed by Cursor Bugbot for commit e7900ff. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify

mintlify Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
mintlify 🟢 Ready View Preview Oct 8, 2026, 5:23 PM

…onents

Default-imported MDX snippets render on the server, and not every built-in
component does (Mermaid is client-only).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@ethanpalm
ethanpalm merged commit dc2798c into main Oct 8, 2026
5 checks passed
@ethanpalm
ethanpalm deleted the mintlify/acc79474 branch October 8, 2026 17:29

This branch was successfully deployed

1 active deployment
staging — e7900ffb Deployed Oct 8, 2026 by mintlify[bot]
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