reactjs - ReactJS Web 中的 React-Native 组件
问题描述
是否可以在 ReactJS Web 项目中使用本机反应组件(视图、文本、TouchableOpacity 等)?
解决方案
It is possible, but not using standard React or React Native. Here is a popular library which was designed to accomplish this: https://github.com/necolas/react-native-web
推荐阅读
- java - 为什么 Java 无法读取某些包含 utf-8 字符的目录?
- docker - 在没有原始 Dockerfile 的情况下更新 docker 映像
- macos - 面向 macOS 的 Xamarin.Forms
- java - 如果重复,如何返回字符串的第一个字符?
- sql - 如何聚合基于列的多个条件以获得更好的性能?
- python - Python中的`import ab as b`和`b=ab`之间有什么区别吗?
- html - 带有网格和 ngFor 的离子模式
- typescript - Angular 6将可注射数组传递给app.module.ts中的提供者导致:“无法读取未定义的属性'长度'时出错”
- ios - Xcode 10 构建失败,“命令 CompileSwift 失败,退出代码非零”
- python - PyAudio 回调仅被调用一次