React Native 0.73 版本支持 #14128
Replies: 8 comments 4 replies
-
Taro Native Shell 升级至 0.73 测试对应分支 https://github.com/NervJS/taro-native-shell/tree/0.73.0 下载现有包进行验证 https://github.com/NervJS/taro-native-shell/releases/tag/v0.73.0-0 修改代码后
查看打包是否正常进行 https://github.com/NervJS/taro-native-shell/actions |
Beta Was this translation helpful? Give feedback.
-
Taro 主仓库升级至 0.73对应分支 https://github.com/NervJS/taro/tree/feat/react-native-73 包安装 4.0.0-canary.1 测试要点无 |
Beta Was this translation helpful? Give feedback.
-
Taro Project Template 升级至 0.73 测试对应分支 https://github.com/zhiqingchen/taro-project-templates/tree/v4.0
查看打包是否正常进行 https://github.com/NervJS/taro-native-shell/actions 参考分支 https://github.com/NervJS/taro-native-shell/tree/test/template-0.73-0 |
Beta Was this translation helpful? Give feedback.
-
Taro Playground 升级至 0.73 测试对应分支 https://github.com/wuba/taro-playground/tree/releases/v1.11.0 包下载 |
Beta Was this translation helpful? Give feedback.
-
pnpm 支持template 缺失依赖
多余依赖
upgradePeerdeps 脚本更新
github action 更新文档更新
壳工程更新 |
Beta Was this translation helpful? Give feedback.
-
升级到React Native 0.74 后,会报错,脚本无法编译,大概判断问题是在const { getMetroConfig } = require('@tarojs/rn-supporter'),这个方法里面,能帮忙定位处理下吗 |
Beta Was this translation helpful? Give feedback.
-
请问计划什么时候升级呢 |
Beta Was this translation helpful? Give feedback.
-
概述
将默认的 RN 版本切换至 0.73,expo 版本切换至 50。
参考React Native 0.71 版本支持
动机
React Native 0.73 版本已于 2023-12-6 正式发布。
Taro 将与 RN 社区保持同步,将默认的 RN 版本设置为 0.73。
使用案例
将 Taro 升级至最新版,将原生代码根据相关pr进行变更。
详细设计
依赖变更
todo
Taro 主仓库升级至 0.73
升级内容:
react-native
进行版本更新。Taro Native Shell 升级至 0.73
分支:https://github.com/NervJS/taro-native-shell/tree/0.73.0
参考 upgrade-helper
Taro Project Template 升级至 0.73
Taro Playground 升级至 0.73
分支:
https://github.com/wuba/taro-playground/tree/releases/v1.11.0
升级内容:
缺陷
替代选择
N/A
适配策略
老项目更新注意
metro.config.js
package.json
常见问题
Beta Was this translation helpful? Give feedback.
All reactions