We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d57ed41 + 877c47c commit 50a839fCopy full SHA for 50a839f
src/react-fetch.js
@@ -1,5 +1,10 @@
1
import React from 'react/addons'
2
-import fetch from 'isomorphic-fetch'
+
3
+//this is to hack around a bug, see:
4
+//https://github.com/matthew-andrews/isomorphic-fetch/pull/20
5
+//import fetch from 'isomorphic-fetch'
6
+import fetch_ from 'isomorphic-fetch';
7
+var fetch = fetch_.bind(undefined);
8
9
export default class Fetch extends React.Component{
10
0 commit comments