与 Node.js 相比,Bun 的性能非常出色。
它允许运行 React 应用程序。是否也可以使用 Bun 运行时运行 React Native 应用程序?
只需安装 Bun 并运行,bun run start假设您的package.jsonstart中有指向 的脚本。react-native start
但我看不到在 Bun 上运行 React Native 的好处,因为 Bun 不会被编译为本机(在设备上运行)。
如果您正在寻找运行 jsbundle 的更好性能,只需使用Hermes即可。
| 归档时间: |
|
| 查看次数: |
3846 次 |
| 最近记录: |