title: React pagination does not update page data when page number is changed
body: <p>I am new to react and I am using "ReactTable" Component to display data along with pagination. On changing the page, page number gets updated but data being displayed does not update (When page number is set from 1 to 2, table doesn't get updated to show next data from the second page). Also, changing number of rows doesn't work always. I understand that I will have to write a trigger function but I don't know how where and how to write one.</p>
  
  <p>Here is how the pagination for the table looks like:
  <a href="https://i.stack.imgur.com/rIocP.png" rel="nofollow noreferrer">Pagination image</a></p>
  
  <p>I came across a few custom pagination codes but they did not work. Also, I am interested in doing it with the built-in pagination code in  component. </p>
  
  <pre><code>    &lt;ReactTable
           data={this.props.results.relations}
           minRows={0}
           showPagination={true}
           defaultPageSize={10}
           defaultFilterMethod={(filter, row) =&gt;
                String(row[filter.id]).toLowerCase().includes(filter.value.toLowerCase())}
           columns={[
             {
               Header: "Column1",
               accessor: "col1",
               width: 70,
               filterMethod: (filter, rows) =&gt;
               matchSorter(rows, filter.value, { keys: ["col1"] }),
               filterAll: true
             },
             {
               Header: "Column2",
               accessor: "col2",
               width: 150,
               filterMethod: (filter, rows) =&gt;
               matchSorter(rows, filter.value, { keys: ["col2"] }),
               filterAll: true
             }
           ]} 
     /&gt;
  </code></pre>