Wednesday, November 27, 2019

ERROR TypeError: Converting circular structure to JSON

Well, if you just want to barf a snapshot of the latest thing up to the console it may be best to use the spread operator to get rid of a reference that could change instead of JSON.stringify inside JSON.parse which can lead to this error.

No comments:

Post a Comment