callstack / callstack/react-native-pager-view
PagerView.js: Attempted import error: 'react-native' does not contain a default export (imported as 'ReactNative').
- Dominant language
- TypeScript
- Stars
- 3.4k
- Forks
- 476
- Avg merge
- 10d 21h
- Merged PRs (30d)
- 2
Description
## 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.
Contributor guide
Research direction
Start with PagerView.js and reproduce the report using the linked demo with `yarn` and `yarn web`; inspect the React Native import associated with the reported default-export error. Done means the web demo runs without this import error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100