[Android]关于weex渲染在安卓下的优化问题
Open
android
- Dominant language
- C++
- Stars
- 18.5k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
目前weex的版本在优化上存在以下疑问还望解答:
1、是否可以通过前端webpack打包拆分模块的方式,打包出common.js和page.js来拆分公共库代码部分和业务代码,然后客户端通过预先渲染common.js,跳转到页面A的时候才渲染page-a.js呢?
2、prerender怎么使用?sdk里是有isPreRenderMode的字段,但是无法查阅如何使用它?
Contributor guide
Research direction
The issue asks whether webpack can split common.js from page-specific bundles and how the SDK's isPreRenderMode field should be used. Start by locating the Android SDK handling for isPreRenderMode and the webpack configuration or guidance for bundle splitting. Done means documenting the supported approach and prerender usage, including any limitations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript, webpack
- Domain
- mobile, performance
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100