How can I achieve optimistic rendering with remote data using material-table?
问题 I am using the library material-table for data tables in my application. I was setting the data prop to use data from this.state.data and adding rows would update on my table by using setState. But after switching to remote data the table doesn't update after adding a row. Is there another way to achieve this with remote data? import React, {Component} from "react"; import MaterialTable from "material-table"; import Add from "@material-ui/icons/Add"; import Clear from "@material-ui/icons