jayesbe / react-native-cacheable-image

An Image Component for React Native that will cache itself to disk.
MIT License
304 stars 78 forks source link

React.createClass is not a function. (In 'React.createClass', 'React.createClass' is undefined) #60

Closed reactionic27 closed 6 years ago

reactionic27 commented 7 years ago

I have some trouble to use this module and I am getting error in react-native-response-image.js My react native version is 0.49.3. I think this module is not updated for latest react native version. Could you kindly update this module? Regards. simulator screen shot oct 18 2017 5 08 57 pm

hey-mx commented 6 years ago

Hi,

I have the same problem. @reactionic127 Did you fixed this issue?

jorgeasolano commented 6 years ago

same issue here using 0.49.3

rekliner commented 6 years ago

React 16 removed createClass. This might help you: https://reactjs.org/blog/2017/04/07/react-v15.5.0.html#migrating-from-reactcreateclass

jayesbe commented 6 years ago

Looks like the issue is with react-native-responsive-image. master was using an old dep.. just merged an update to master that updates the dep that should fix this.