callstack / callstack/react-native-pager-view
PagerView.js: Attempted import error: 'react-native' does not contain a default export (imported as 'ReactNative').
未关闭
- 主要语言
- TypeScript
- 星标
- 3.4k
- 派生
- 476
- 平均合并
- 10 天 21 小时
- 30 天内合并 PR
- 2
描述
## Environment
React native
React native web
## Description
Getting error when run on web
Attempted import error: 'react-native' does not contain a default export (imported as 'ReactNative').
## Reproducible Demo
Clone https://github.com/alphazhe/AntDesignTest/tree/master
`git checkout master`
`yarn`
`yarn web`
Perform above steps to run above project
Please help me solve this issue.
贡献指南
调研方向
从 PagerView.js 开始,使用链接的演示通过 `yarn` 和 `yarn web` 重现该报告;检查与所报告的 default-export 错误相关的 React Native 导入。完成的标准是 Web 演示能够在没有此导入错误的情况下运行。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, react-native
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100