Skip to content Skip to sidebar Skip to footer

Error "converting Circular Structure To Json -> Starting At Object With Constructor 'fibernode'" In React Native

I have an error reacted natively with the error Converting circular structure to JSON -> starting at object with constructor 'FiberNode' when clicking on the list of data disp

Solution 1:

This error can be caused by JSON.stringify method, so the only place it is used i see is inside onTask function

body: JSON.stringify({
              'pro_uid' : pro,
              'tas_uid' : tas,
            }),

, so you should check its parameters pro and tas

i guess this code is looking suspicious

this.onTask.bind(item.pro_uid, item.tas_uid)

first parameter of bind function should be context, try to change it to

this.onTask.bind(this, item.pro_uid, item.tas_uid)

and check if it works

Post a Comment for "Error "converting Circular Structure To Json -> Starting At Object With Constructor 'fibernode'" In React Native"