We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React Native
使用框架: React
将Taro4.0.4版本,开了小程序应用,可以正常使用。 之后将这个项目编译打包成了Android与iOS的RN平台项目。在XiaoMi Play手机,Android 8.0上,冷启时长有10s。在iOS上,iPhone15 pro max机型,冷启也是有10s。 因为项目是直接用Taro的分离方式,通过相关指令编译打包的,并未做其他设置。 请问如何优化启动速度呢?
RN平台打包的Android与iOS平台上的项目,冷启时间在1s内
RN平台打包的Android与iOS平台上的项目,冷启时间慢
👽 Taro v4.0.4 Taro CLI 4.0.4 environment info: System: OS: macOS 14.2 Shell: 5.9 - /bin/zsh Binaries: Node: 20.11.1 - /usr/local/bin/node Yarn: 3.6.4 - /opt/homebrew/bin/yarn npm: 10.8.2 - /opt/homebrew/bin/npm npmPackages: @tarojs/cli: 4.0.4 => 4.0.4 @tarojs/components: 4.0.4 => 4.0.4 @tarojs/helper: 4.0.4 => 4.0.4 @tarojs/plugin-framework-react: 4.0.4 => 4.0.4 @tarojs/plugin-platform-alipay: 4.0.4 => 4.0.4 @tarojs/plugin-platform-h5: 4.0.4 => 4.0.4 @tarojs/plugin-platform-harmony-hybrid: 4.0.4 => 4.0.4 @tarojs/plugin-platform-jd: 4.0.4 => 4.0.4 @tarojs/plugin-platform-qq: 4.0.4 => 4.0.4 @tarojs/plugin-platform-swan: 4.0.4 => 4.0.4 @tarojs/plugin-platform-tt: 4.0.4 => 4.0.4 @tarojs/plugin-platform-weapp: 4.0.4 => 4.0.4 @tarojs/react: 4.0.4 => 4.0.4 @tarojs/runtime: 4.0.4 => 4.0.4 @tarojs/shared: 4.0.4 => 4.0.4 @tarojs/taro: 4.0.4 => 4.0.4 @tarojs/taro-loader: 4.0.4 => 4.0.4 @tarojs/webpack5-runner: 4.0.4 => 4.0.4 babel-preset-taro: 4.0.4 => 4.0.4 eslint-config-taro: 4.0.4 => 4.0.4 react: ^18.0.0 => 18.3.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
相关平台
React Native
使用框架: React
复现步骤
将Taro4.0.4版本,开了小程序应用,可以正常使用。
之后将这个项目编译打包成了Android与iOS的RN平台项目。在XiaoMi Play手机,Android 8.0上,冷启时长有10s。在iOS上,iPhone15 pro max机型,冷启也是有10s。
因为项目是直接用Taro的分离方式,通过相关指令编译打包的,并未做其他设置。
请问如何优化启动速度呢?
期望结果
RN平台打包的Android与iOS平台上的项目,冷启时间在1s内
实际结果
RN平台打包的Android与iOS平台上的项目,冷启时间慢
环境信息
The text was updated successfully, but these errors were encountered: