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

尚未完成转换的组件 #4

Open
yujiangshui opened this issue Mar 20, 2016 · 2 comments
Open

尚未完成转换的组件 #4

yujiangshui opened this issue Mar 20, 2016 · 2 comments

Comments

@yujiangshui
Copy link
Owner

yujiangshui commented Mar 20, 2016

有问题组件:

  • Navigator
  • PickerIOS
  • TabBarIOS
  • Text
  • View

API 下面这个没有处理,而且部分 API 里面的 module.exports 也没有替换 export default,感觉意义不大没有处理:

  • AsyncStorage
  • StyleSheet
@yujiangshui
Copy link
Owner Author

yujiangshui commented Apr 16, 2016

问题:

  • View 组件里面 LayoutMixin 里有 getInitialState,React component 不支持。
  • Text 组件问题同 View。
  • Navigator 组件 statics 的方法中,抛出 NavigationBar。有 Navigator.NavigationBar 这种用法的时候,由于 Navigator.NavigationBar 是一个 class function 而不是普通的对象,导致报错。
  • Picker.Item 问题与 Navigator 一样。
  • TabBarIOS 问题同上。

@yujiangshui
Copy link
Owner Author

yujiangshui commented Apr 16, 2016

需要注意:

  • TouchableHightlight 组件中提示 isMounted 函数被废弃,并在 ES6 下报错。临时注释,如有需要需要模拟实现该功能。代码:f76927d#diff-a4cbd51f5058a87998e4169716be5060L151
  • Portal 组件在 UI Explorer demo 中没有演示,所以没有验证是否工作正常。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant