We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Failed to construct 'Request': Please use the 'new' operator, this DOM object constructor cannot be called as a function.
_this2 = possibleConstructorReturn(this, getPrototypeOf$2(ExtendedRequest).call(this, url, options));
Reproduction (thanks to @dheeraj-jn for putting this together): https://codesandbox.io/s/fragrant-pine-cwnox
This looks to be caused by the way babel transpiles the super call within ExtendedRequest.
super
ExtendedRequest
The text was updated successfully, but these errors were encountered:
fix(adapter-fetch): Fix "failed to construct Request" issue
c10c44a
Resolves #286.
fix(adapter-fetch): Fix "failed to construct Request" issue (#287)
d17ab9b
* fix(adapter-fetch): Fix "failed to construct Request" issue Resolves #286.
Resolved with v3.0.1.
v3.0.1
Sorry, something went wrong.
Thanks @offirgolan
Successfully merging a pull request may close this issue.
Error
Failed to construct 'Request': Please use the 'new' operator, this DOM object constructor cannot be called as a function.
Offending line
_this2 = possibleConstructorReturn(this, getPrototypeOf$2(ExtendedRequest).call(this, url, options));
Reproduction (thanks to @dheeraj-jn for putting this together):
https://codesandbox.io/s/fragrant-pine-cwnox
This looks to be caused by the way babel transpiles the
super
call withinExtendedRequest
.The text was updated successfully, but these errors were encountered: