title: Why is my react Table not updating the data?
body: <p>I got a react Table that I want to delete or modify my data.
  My code is below for all my cells.</p>
  <pre><code>    deleteTableElement = (row) =&gt; {
          let data = this.state.list.data;
          data.splice(row.id, 1);
          this.setState({
              list:{
                  ...this.state.list,
                  data:data
              }
          })
      };
  
      actionsCell = (columns) =&gt; {
          columns.push({
              Header: &quot;Accion&quot;,
              Cell: (props) =&gt; {
                  console.log(props);
                  return (
                      &lt;div
                          style={{
                              display: &quot;flex&quot;,
                              justifyContent: &quot;space-around&quot;,
                          }}
                      &gt;
                          &lt;i
                              onClick={() =&gt; this.deleteTableElement(props.row)}
                              className=&quot;material-icons&quot;
                              style={{ color: &quot;red&quot;, cursor: &quot;pointer&quot; }}
                          &gt;
                              delete
                          &lt;/i&gt;
                      &lt;/div&gt;
                  );
              },
          });
          return columns;
      };
  </code></pre>
  <p>In this case, I want to modify the item. The react table is not updating.</p>