Skip to content
New issue

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

跟 RN 的使用习惯差太多,不得不吐槽 #8157

Closed
DingSoung opened this issue Nov 30, 2020 · 4 comments
Closed

跟 RN 的使用习惯差太多,不得不吐槽 #8157

DingSoung opened this issue Nov 30, 2020 · 4 comments
Labels
enhancement New feature or request T-rn Target - 编译到 React Native

Comments

@DingSoung
Copy link

这个特性解决了什么问题?

降低学习和开发成本,平滑从RN迁移到Taro

这个 API 长什么样?

去掉 xxx.config.js 配置导航栏,使用 container 形式自定义导航

去掉独立的样式配置文件,支持类似 StyleSheet 的形式配置样式

去掉 index.html

目标是 每个组建只需要一个 js 文件即可

@taro-bot2 taro-bot2 bot added the enhancement New feature or request label Nov 30, 2020
@yz1311
Copy link

yz1311 commented Dec 1, 2020

我也是从RN转过来的,taro本是web端的开发模式,RN的那种模式限制才是最多,习惯就好了

@DingSoung
Copy link
Author

DingSoung commented Dec 1, 2020

我也是从RN转过来的,taro本是web端的开发模式,RN的那种模式限制才是最多,习惯就好了

@yz1311 强迫症晚期,习惯不了,转了 remax, 虽然也不怎么友好,但是坑稍微少点儿

@Chen-jj Chen-jj added the T-rn Target - 编译到 React Native label Dec 3, 2020
@shinken008
Copy link
Collaborator

毕竟 taro 是要适配多端,如果以rn的写法是不好做到适配其他端,remax 支持 rn?

@Pines-Cheng
Copy link
Contributor

感谢吐槽,如果只需要开发 RN 端,而没有多端适配的需求,是不建议直接使用 Taro RN 端的。

Taro 还是以小程序多端适配为主,因此在API及样式等遵循微信小程序的 API,和纯 RN 相比还是有区别的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request T-rn Target - 编译到 React Native
Projects
None yet
Development

No branches or pull requests

5 participants