java.lang.StackOverflowError/ScriptEvaluationException error in AEM 6.4 while rendering a React JS based Component
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 : <div data-component="myComponent" class='react-mini-app' data-application-name='AppName' data-props={
"key1": "${properties.value3 @2941342="attribute"}",
"key2": "${properties.value2 @2941342="attribute"}",
.
.
.
"key999": "${properties.value999 @2941342="attribute"}",
"key1000": "${properties.value1000 @2941342="attribute"}"
}
</div>
there are 1000+ such key and value pair passed to the component in .html
When I try to load the page where the component is authored, it gives me the following error :
