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
実際の読み込み箇所。
require('whatwg-fetch'); module.exports = self.fetch.bind(self);
selfやらthisは実装によって違う。 React Nativeが採用しているJavaScriptCoreはthis。 よってselfはundefinedになる。
self
this
undefined
isomorphic-fetchのfetch-npm-browserify.jsを以下のようにすることで一応解決する。
fetch-npm-browserify.js
require('whatwg-fetch'); module.exports = this.fetch.bind(this);
isomorphic-fetchからfetch-everywhereに変更すると解決しそう。
The text was updated successfully, but these errors were encountered:
nukosuke
No branches or pull requests
実際の読み込み箇所。
self
やらthis
は実装によって違う。React Nativeが採用しているJavaScriptCoreは
this
。よって
self
はundefined
になる。isomorphic-fetchの
fetch-npm-browserify.js
を以下のようにすることで一応解決する。isomorphic-fetchからfetch-everywhereに変更すると解決しそう。
The text was updated successfully, but these errors were encountered: