Skip to content
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

Api test #73

Merged
merged 4 commits into from
Oct 14, 2018
Merged

Api test #73

merged 4 commits into from
Oct 14, 2018

Conversation

ppershing
Copy link
Contributor

No description provided.

@ppershing ppershing requested a review from ddeath October 13, 2018 11:33
@@ -0,0 +1,22 @@
import fetch from 'node-fetch'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I would use https://github.com/matthew-andrews/isomorphic-fetch and added it also to the index.js That way we would have same fetch everywhere. But on the other hand that will add some js to app bundles...
What do you think about this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick scouting seems to be for node-fetch instead of isomorphic-fetch. Check this issue: graffle-js/graffle#14
In general, I would prefer using native fetch when possible (unless we figure out it is missing in some older version of Android/iOS)

@ppershing ppershing merged commit f5096d1 into master Oct 14, 2018
@ppershing ppershing deleted the api_test branch October 14, 2018 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants