meliorence / meliorence/react-native-snap-carousel

Attempted import error: 'ViewPropTypes'

Open
#770 6 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

C:/Projects/ReactNative/pwaExpo/node_modules/react-native-snap-carousel/src/pagination/PaginationDot.js
Attempted import error: 'ViewPropTypes' is not exported from 'react-native-web/dist/index'.
  • "expo": "~39.0.2"

  • "react-native": "https://github.com/expo/react-native/archive/sdk-39.0.3.tar.gz",

  • "react-native-web": "~0.14.0",

    "@babel/core": "~7.11.6",
    "@babel/plugin-transform-react-jsx-source": "^7.10.5",
    "@expo/webpack-config": "^0.12.38",
    "babel-plugin-import": "^1.13.1",
    "babel-plugin-root-import": "^6.5.0"  },```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the import error with the listed Expo, React Native, and react-native-web versions. Inspect node_modules/react-native-snap-carousel/src/pagination/PaginationDot.js and verify the web build after resolving the ViewPropTypes compatibility issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile-dev, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.