You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, so I've been experimenting around with migrating my hooks to this package but I have this error thrown in my browser console whenever I try to execute a mutation.
I'm using a Meteor/Apollo stack so my client code is as follows:
But this throws Uncaught ReferenceError: regeneratorRuntime is not defined in my console for some reason. I'm using the latest release, 1.8.0. Have also tried removing the package and re-installing it to no avail.
The text was updated successfully, but these errors were encountered:
Hey Ajay! I won't be able to fix this until Monday, but it's because I forgot to add @babel/polyfill as a dependency, which is required for things like async/await. It works for me, because the projects in which I am using apollo-augmented-hooks include it themselves. You can do the same thing in the meantime, until I add the dependency to this package!
Hi, so I've been experimenting around with migrating my hooks to this package but I have this error thrown in my browser console whenever I try to execute a mutation.
I'm using a Meteor/Apollo stack so my client code is as follows:
And my mutation is merely as follows:
Initialized as such:
Further in my component I have:
But this throws
Uncaught ReferenceError: regeneratorRuntime is not defined
in my console for some reason. I'm using the latest release, 1.8.0. Have also tried removing the package and re-installing it to no avail.The text was updated successfully, but these errors were encountered: