Skip to content

Conversation

@angeloashmore
Copy link
Member

@angeloashmore angeloashmore commented Jan 14, 2026

Resolves: N/A

Description

Renames the JSXMapSerializer type to RichTextComponents for a clearer, more intuitive naming convention. The old name is kept as a deprecated alias for backwards compatibility.

Checklist

  • A comprehensive Linear ticket, providing sufficient context and details to facilitate the review of the PR, is linked to the PR.
  • If my changes require tests, I added them.
  • If my changes affect backward compatibility, it has been discussed.
  • If my changes require an update to the CONTRIBUTING.md guide, I updated it.

Preview

N/A

How to QA 1

  1. Import RichTextComponents from @prismicio/react
  2. Verify the type works as expected
  3. Verify JSXMapSerializer still works but shows a deprecation warning

🤖

Footnotes

  1. Please use these labels when submitting a review:
    ❓ #ask: Ask a question.
    💡 #idea: Suggest an idea.
    ⚠️ #issue: Strongly suggest a change.
    🎉 #nice: Share a compliment.

Renames the `JSXMapSerializer` type to `RichTextComponents` for a clearer,
more intuitive naming convention. The old name is kept as a deprecated alias
for backwards compatibility.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@angeloashmore angeloashmore changed the title feat: rename JSXMapSerializer to RichTextComponents feat: rename JSXMapSerializer to RichTextComponents Jan 14, 2026
@angeloashmore angeloashmore marked this pull request as ready for review January 14, 2026 04:39
@angeloashmore angeloashmore merged commit f7485e5 into master Jan 14, 2026
11 checks passed
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.

2 participants