Hi Peter, sorry I wasn't clear with my description so I just edited the
example I gave in my description. I am not passing any hardcoded json
but I am populating it via dialog. Also if I hardcode the json in the
data-props it works just fine. I think the problem is somewhere in
traversing all those 1000 nodes in jcr:content to get the values.
Hi Peter, I dont think the problem is with the code here because if I
refresh the page in my browser like 10-15 times, the error goes away and
the component is loaded successfully. Also I tried to reduced the
existing json data by half and it works fine with no errors. So I think
it must be something else.Thanks.
Scenario : I am passing a huge chunk of data using "data-props" property
to a react component.the json data passed to the component consists of
1000+ lines of code.Eg : there are 1000+
such key and value pair passed to the component in .htmlWhen I try to
load the page where the component is authored, it gives me the following