title: TypeError: Invalid attempt to spread non-iterable instance
body: <p>After compiling to android and downloading via Store I get the error:</p>
  
  <pre><code>"TypeError: Invalid attempt to spread non-iterable instance"
  </code></pre>
  
  <p>But using "react-native run-android" creates no error message therefor I can't find a good way to debug it.</p>
  
  <pre><code>fetch(url)
    .then(response =&gt; response.json())
    .then(response =&gt; {
      if (this._mounted) {
        // let dataSource = this.state.articlesDataSource.cloneWithRows(response.data || [])
        //var rowCount = dataSource.getRowCount();
        var rowCount = Object.keys(response.data).length;
  
        if (refresh == true) {
          prevData = {};
        } else {
          prevData = this.state.articlesData;
        }
        if (propSearch == "" || propSearch == null) {
          newArticlesData = [...prevData, ...response.data];
        } else {
          newArticlesData = response.data;
        }
        if (response.meta.next_page != null) {
          var rowCount = true;
        } else {
          var rowCount = Object.keys(newArticlesData).length;
        }
        if (this._mounted) {
          this.setState({
            isLoading: false,
            //articlesDataSource: this.state.articlesDataSource.cloneWithRows(response.data),
            articlesData: newArticlesData,
            nextPage: response.meta.next_page,
            fetchUrl: url,
            rowCount: rowCount
          });
        }
      }
    })
    .catch(error =&gt; {
      this.setState({
        errorFound: true,
        errorMassage: error,
        isLoading: false
      }); 
  });
  </code></pre>
  
  <p>Thanks for any help.</p>