What problem does it solve?
Building polished rich-text interfaces in React Native is challenging without native editors and robust Markdown rendering. This guide consolidates best practices for using react-native-enriched for editing and react-native-enriched-markdown for rendering, ensuring consistent UX and performance across platforms.
Core Features & Use Cases
- Editing with EnrichedTextInput: native, high-performance rich-text editing (bold, italic, mentions, links) without reliance on React state for value.
- Rendering with EnrichedMarkdownText: fast, native Markdown rendering (no WebView) suitable for chat messages, docs, and content feeds, with optional GFM features via flavor.
- Interoperability: combine both libraries to support editing and displaying the same content in a seamless workflow across iOS and Android.
Quick Start
Install react-native-enriched and react-native-enriched-markdown, then start building a Rich Text Editor or Markdown display using EnrichedTextInput and EnrichedMarkdownText.