beekai-oss / react-simple-img

🌅 React lazy load images with IntersectionObserver API and Priority Hints
MIT License
989 stars 41 forks source link

regeneratorRuntime not found #22

Closed johnpaulada closed 6 years ago

johnpaulada commented 6 years ago

I'm encountering a "regeneratorRuntime not found" when I'm importing the library on a create react app project. I'm currently using version 1.3.12.

bluebill1049 commented 6 years ago

hey john,

I use create react app as well. you want to check out the example in the meantime? https://github.com/bluebill1049/react-simple-img/tree/master/example

i can take a look your issue later this week. thanks

johnpaulada commented 6 years ago

I'll check it out. Thanks!

johnpaulada commented 6 years ago

Apparently it's still okay up until 1.3.5. When I use 1.3.6, it displays the regeneratorRuntime error.

bluebill1049 commented 6 years ago

yea man i will sort it out. probably going to remove babel-polyfill all together in this package.

bluebill1049 commented 6 years ago

react-simple-img@1.3.13 fixed 👍 leave a star if you find it useful 😄

johnpaulada commented 6 years ago

Already did. 😄 Awesome! I'll try it out as soon as I can. Thanks for the hard work! 🎉

bluebill1049 commented 6 years ago

haha thank you mate! :)

bluebill1049 commented 6 years ago

hey @johnpaulada, i am closing the issue for now, you can re-open if there still issues :) thanks