Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/songxiaoliang/react-native-split-bundle
react native jsbundle 拆包解决方案,实现 react context 延迟异步加载,基础包、业务包按需加载
https://github.com/songxiaoliang/react-native-split-bundle
Last synced: 2 months ago
JSON representation
react native jsbundle 拆包解决方案,实现 react context 延迟异步加载,基础包、业务包按需加载
- Host: GitHub
- URL: https://github.com/songxiaoliang/react-native-split-bundle
- Owner: songxiaoliang
- Created: 2018-12-11T08:46:41.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-24T05:05:08.000Z (almost 6 years ago)
- Last Synced: 2024-08-05T14:16:07.619Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.24 MB
- Stars: 67
- Watchers: 2
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-star-libs - songxiaoliang / react-native-split-bundle
README
# react-native-split-bundle
react native bundle 拆分方案实现,实现 ReactContext 延迟异步加载,基础包、业务包按需加载。
demo 中,RNAndroid 为 Android 原生模块,模仿了在原生App 中嵌入 RN 模块的实现方式。source_code下即为需要修改的打包源码,覆盖即可。### RN JSBundle 拆分解决方案(1): 应用启动、视图加载原理解析
#### 详情浏览:https://songlcy.blog.csdn.net/article/details/79347331
### RN JSBundle 拆分解决方案(2): JSBundle 、Metro 结构分析
#### 详情浏览:https://songlcy.blog.csdn.net/article/details/84571326
### RN JSBundle 拆分解决方案(3): 封装原生层 JSBundle 加载逻辑,基础包、业务包加载
#### 详情浏览:https://songlcy.blog.csdn.net/article/details/84647230