Hello, i am using handsontable-react with react functional component.
I am using react’s useState hook to keep table’s data like this
const [data, setData] = useState([[]])
After i manually updated state by using setData(newData)
(for adding new columns/rows), the table’s data is updated but then all cells become uneditable.
They keep showing me this error when i try to edit value of a cell
Cannot assign to read only property of object '[object Array]'
I has been searching on google how to using handsontable with react
but all examples are using react class based component.
Thanks