我的同步数据的简单函数是这样的:import { getData } from '.synchronize (navigator) { // ... then store data to local db...我正在使用RESTful API从服务器获取一些数据:import { Alert, AsyncStorage } from 'react-na
我一直试图使用阿波罗连接到本地的GraphQL服务器。下面是我使用react-apollo2.0的尝试。但是我也尝试过使用react-apollo1.4和createNetworkInterface,但是我也得到了同样的错误。import { graphql } from 'react-apollo';
im