RN————Navigator 报错
来源:互联网 发布:三星备份数据怎样恢复 编辑:程序博客网 时间:2024/05/18 00:00
报错:'Navigator is deprecated and has been removed from this package. It can now be installed ' +
'and imported from `react-native-deprecated-custom-components` instead of `react-native`. ' +
'and imported from `react-native-deprecated-custom-components` instead of `react-native`. ' +
'Learn about alternative navigation solutions at http://facebook.github.io/React-native/docs/navigation.html'
这是因为版本升级到0.43以上的话,Navigator不能直接从react-native里面获取了,
解决方案:
npm install react-native-deprecated-custom-components
--save
然后在引用的地方
import {Navigator}
from react-native-deprecated-custom-components
阅读全文
0 0
- RN————Navigator 报错
- RN Navigator
- rn——小心得
- React-Native——RN环境安装
- 推荐软件——Source Navigator
- RN RCTWebSocket编译报错
- 微信小程序开发—(十一)navigator
- source navigator启动报错
- Anaconda3 打开Navigator报错
- RN——嵌入到iOS原生应用
- RN布局(一)——flexbox布局
- RN布局(二)——伸缩容器的属性
- RN布局(三)——伸缩项目的属性
- ReactNative开发——RN与android Native交互初探
- RN开发实践——仿携程App(一)
- RN开发实践——仿携程App(二)
- RN开发实践——仿携程App(三)
- RN开发实践——仿携程App(四)
- java1.8版本hashTable源码阅读
- 小白一枚~~~
- WebService(腾讯QQ在线状态 WEB 服务)
- java综合日期时间处理工具类
- ICP点云配准
- RN————Navigator 报错
- 常见端口漏洞
- Python异步编程与aiohttp检测代理池
- Caused by: java.lang.ClassNotFoundException: net.sf.ehcache.CacheManager
- 相邻两数最大差值
- apache+wsgi+flask配置
- OpenGL-绘制旋转立方体
- Java——this关键字总结
- 面试题:用三种方法模拟实现strlen函数