React Function Component - Editable option crash code
Describe the bug Problem with Material Table when try to make it editable using a React Functional Component. After the execution of any editable action the data in the grid not refresh.
To Reproduce Steps to reproduce the behavior:
- Use this code as example: https://codesandbox.io/s/materialtableui-b35v3
- Make any update (Delete, Add or Update any row)
- After save/commit the changes the information is not refreshed on the grid.
Expected behavior Allow editable actions and show the data in the grid after each action.
Desktop (please complete the following information):
- Browser [Any]
Additional context The scenario happens using a React Functional Component.
I made a workaround... but I still have some doubts if this is the best approach to fix the problem... check this link:
https://github.com/mbrn/material-table/issues/1325#issuecomment-553388257
Regards!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.