Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrow functions are not supported on IE11 #60

Closed
isBatak opened this issue May 27, 2019 · 3 comments
Closed

Arrow functions are not supported on IE11 #60

isBatak opened this issue May 27, 2019 · 3 comments

Comments

@isBatak
Copy link

isBatak commented May 27, 2019

I managed to fix react-sping on IE11 by using react-spring/web.cjs, but react-use-gesture doesn't have .cjs module and it's using arrow functions which are not supported in IE11.
Could you make '.cjs` bundle also, or transpile arrow functions?

@dbismut
Copy link
Collaborator

dbismut commented May 27, 2019

Hey @isBatak this should be fine in react-use-gesture@next, can you please confirm?

@isBatak
Copy link
Author

isBatak commented May 27, 2019

Thx @dbismut it works with 5.1.0-beta.6 version!

@isBatak isBatak closed this as completed May 27, 2019
@dbismut
Copy link
Collaborator

dbismut commented May 27, 2019

Cool! In the meantime, I've bumped it to... 5.1.0-beta.9 since then as I had issues with TypeScript. Hopefully it would still work for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants