-
Notifications
You must be signed in to change notification settings - Fork 15
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
do not use node-fetch, let user polyfill it #17
Comments
Thanks for the comment @sibelius - Can you give us some more detail on your use case? We want to minimize the effort of users of this package. isomorphic-fetch wasn't used for three reasons:
Can you share a bit of info about
Thanks in advance - hopefully we can figure out how best to address any issues you are experiencing. |
it is recommend to let user code provide the polyfill not every package/library so the bundle can be small if you are doing serveless |
Sorry, @sibelius, I'm not quite following your point here and need some clarification.
I'm used to 'bundle' referring to what is being sent to a browser user on page load. |
I'm submitting this issue for the package(s):
I'm submitting a:
Current behavior
It uses node-fetch
Expected behavior
It should let user polyfill
fetch
insteadMinimal reproduction of the problem with instructions
remove node-fetch, and add docs saying that user should polyfill it
using isomorphic-fetch sounds a good option
Extra information about the use case/user story you are trying to implement
Environment
node -v
): 10The text was updated successfully, but these errors were encountered: