material-table icon indicating copy to clipboard operation
material-table copied to clipboard

Fast-Deep-Equal RangeError:Maximum Call Stack Size Exceeded

Open HappyMajor opened this issue 3 years ago • 0 comments

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?

HappyMajor avatar May 24 '22 11:05 HappyMajor