material-table
material-table copied to clipboard
Fast-Deep-Equal RangeError:Maximum Call Stack Size Exceeded
Env: Nextjs
- I fetch data from my API
- An useEffect is triggered to change the data fetched from the API
- I insert the data into the material table
- I change the data via a select component and make a PUT API call
- After success, the site gets refreshed
- Now a RangeError:Maximum Call Stack Size Exceeded appears
The details show that the cause of this error is a node module called fast-deep-equal which creates a loop for some reason. Does anyone know a way to fix this?