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.

Meituan Technology Team
Meituan Technology Team
Meituan Technology Team
React2X: Multi-Container Cross-Platform Development Framework

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.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Cross-platformcode-reuseMeituanmulti‑terminalcontainer-agnosticdevelopment frameworkReact2XWaimai
Meituan Technology Team
Written by

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.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.