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

react-native-web是什么? #49

Open
3 tasks
zhouzhongyuan opened this issue Apr 24, 2017 · 4 comments
Open
3 tasks

react-native-web是什么? #49

zhouzhongyuan opened this issue Apr 24, 2017 · 4 comments

Comments

@zhouzhongyuan
Copy link
Owner

zhouzhongyuan commented Apr 24, 2017

简介

  • react-native-web
  • 类似还有淘宝的react-web,不过好像已经不维护了。
  • 主要功能: 把native组件转为web组件。
  • 如何实现,通过webpack的alias
  • Roadmap

评价&文档

急需

  • Modal
  • VirtualList
  • Actionsheet
@zhouzhongyuan
Copy link
Owner Author

zhouzhongyuan commented May 5, 2017

做一个Modal

Contributing

  • Open an issue with a proposal for a new feature or refactoring before starting on the work.
  • Add Modal
  • Test

如何做

注意事项

  • 已经有人提交pull requestsAdd Modal component
    • necolas认为应该使用transition实现动画(为了性能)
    • it needs to be rendered outside the tree of your main app (i.e., probably requires working into the AppRegistry root view)
      为了
      • get the stacking correct 和
      • to support launching modals from within any layer context (e.g., a ScrollView or anything else using translate3d)

@damiaozi
Copy link

damiaozi commented Aug 3, 2017

我感觉Modal的visible属性,再web中没有生效。是不是这样?

@zhouzhongyuan
Copy link
Owner Author

@damiaozi react-native的Modal组件使用了原生的代码,在Web中并没有原生的Modal,所有需要在Web中模拟出来Modal。

@damiaozi
Copy link

damiaozi commented Aug 4, 2017

谢谢

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

2 participants