Closed anyuruf closed 11 months ago
This post help come with two solutions https://stackoverflow.com/questions/40089181/is-there-any-way-to-reverse-or-undo-the-preventextensions-function: 1- const graphData - JSON.parse(JSON.stringify(data)); 2- obj = Object.assign({}, obj);
Trying to use Next relay data to feed to my react-force-graph2d following Will's tutorial https://lyonwj.com/blog/graph-visualization-with-graphql-react-force-graph. And no errors with static data in the page but log " TypeError: can't define property "__indexColor": Object is not extensible " in the browser.
Help highly appreciated