-
Notifications
You must be signed in to change notification settings - Fork 47
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
Use fetch-everywhere #8
Comments
|
Please try this popular module https://www.npmjs.com/package/isomorphic-fetch |
@nodkz Unfortunately author of that library rejected to adapt it to React Native. It only works in browser and Node. That's why
I guess |
Good. Open PR please with Thanks!!! |
Isn't it better to let the user provide their own polyfill if they need it? |
@edvinerikson just remove For browser Needs for readme. |
That's great idea! React Native already includes fetch polyfill. |
bumped 1.2.0 |
@nodkz exactly, this is what Relay does with the default network layer. |
Hello. I'd like to use this module in React Native. But it's not possible at the moment, because of
whatwg-fetch
. I've replaced it with fetch-everywhere in my fork. The module supports all kind of environments. I could prepare a PR, what do you think?The text was updated successfully, but these errors were encountered: