question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

react-swipeable throws error using react 15.0.0

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

3reactions
hartziscommented, Apr 19, 2016

fixed with 3.3.0

1reaction
hartziscommented, Apr 17, 2016

We are working on getting #26 merged in and published which fixes this issue.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found