Tag

Metro bundler

1 views collected around this technical thread.

Soul Technical Team
Soul Technical Team
Sep 30, 2024 · Mobile Development

Implementing Dynamic Code Splitting and Hot Updates in React Native with Metro Bundler

This article explains how to analyze React Native bundle contents, customize Metro's module ID generation to achieve stable code splitting, and integrate the resulting base and feature packages with a hot‑update workflow that preloads the base bundle, loads feature bundles on demand, and handles loading failures on iOS.

Hot UpdateMetro bundlerReact Native
0 likes · 17 min read
Implementing Dynamic Code Splitting and Hot Updates in React Native with Metro Bundler
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jun 30, 2022 · Mobile Development

Implementing Dynamic Imports in React Native: A Deep Dive into Metro Bundler

This article explains how to customize Metro bundler to support dynamic imports in React Native, detailing a split‑and‑combine build process that isolates async modules, deduplicates code, and loads bundles on demand, thereby shrinking app size and avoiding the drawbacks of multi‑business package architectures.

Metro bundlerReact Nativebundle optimization
0 likes · 14 min read
Implementing Dynamic Imports in React Native: A Deep Dive into Metro Bundler