Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 895 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 895 Bytes

rn-code-split-demo

The project is based on the official template, using the metro-code-split to implement the react-native code split example

Test the load logic step(only demonstrate the ios)

  1. yarn && cd ios && pod install // install dependencies

  2. Use charles to simulate the load of business resources

charles map local
  • Tip: Make sure the iOS Simulator has a charles certificate installed
  1. npm run ios or Using Xcode opens the ios/rnCodeSplitDemo.xcworkspace click run
  • Tip: manually merge _dl.ios.bundle into buz.ios.bundle for test convenience (should be built into App in production)

Effect

effect