React2X: Multi-Container Cross-Platform Development Framework
React2X, launched by Meituan Waimai’s technology team in 2019, is a container‑agnostic, multi‑terminal framework that unifies development across Webview, Mini Programs, MRN, Flutter, Mach and PC browsers, achieving over 90% code reuse and saving thousands of person‑days while simplifying architecture and enhancing cross‑platform efficiency.
This article introduces React2X, a multi-terminal, cross-platform, container-agnostic development framework launched by Meituan Waimai Technology Team in September 2019. The framework aims to solve the problem of repeated development across multiple containers by enabling code reuse and improving development efficiency.
The core goals of React2X include solving multi-terminal container development pain points, building cross-container dynamic capabilities, and establishing a container-agnostic development ecosystem. It supports various containers including Webview, Mini Program, MRN, Flutter, Mach, and PC browsers.
The framework addresses technical challenges such as container differences, business access costs, and architectural design. It provides a complete solution including CLI design, component/API design, open plugin capabilities, and multi-terminal compatibility.
React2X has been successfully implemented in various scenarios including page-level container scenarios, module-level container scenarios, PC/App adaptation, and mini-game container scenarios. The framework has achieved significant results with over 90% code reuse rate and has saved thousands of person-days in costs.
The article also discusses future directions including development experience optimization and rendering performance optimization. Overall, React2X represents a significant advancement in cross-platform development for Meituan's ecosystem.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Meituan Technology Team
Over 10,000 engineers powering China’s leading lifestyle services e‑commerce platform. Supporting hundreds of millions of consumers, millions of merchants across 2,000+ industries. This is the public channel for the tech teams behind Meituan, Dianping, Meituan Waimai, Meituan Select, and related services.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
