react-swipeable throws error using react 15.0.0
See original GitHub issueI’m trying to update my project to react 15.0.0 but react-swipeable
throws the following error:
TypeError: React.__spread is not a function
at [object Object].React.createClass.render (node_modules/react-swipeable/js/Swipeable.js:149:40)
I think #26 would probably fix this problem as it removes the use of React.__spread
.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:7
Top Results From Across the Web
Not comptible with react 15.2.1! · Issue #133 - GitHub
is not working, i'm receiving an error in version of react 15.2.1, ... ERR! peerinvalid Peer react-swipeable-views@0.7.1 wants react@^15.0.0 ...
Read more >Could not resolve dependency error peer react@"^16.8.0
Due to this error, my build is getting failed in netlify. error: $ npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE unable...
Read more >Could not resolve dependency: npm ERR! peer react@"^15.3.0
Queries related to “Could not resolve dependency: npm ERR! peer react@"^15.3.0 || ^16.0.0" from react-swipeable-views@0.13.9”.
Read more >react-swipeable - npm
If a user is swiping right with props { onSwipedRight: userSwipedRight, preventScrollOnSwipe: true } then e.preventDefault() will be called, but ...
Read more >ViewModel for React Alpha - Meteor forums
I get the same errors and behaviors if I use “regular” React code: ... warning until material-ui updates or you can go back...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
fixed with 3.3.0
We are working on getting #26 merged in and published which fixes this issue.