data-sly-resource passing data to the another component
<sly data-sly-resource="${ x @ resourceType='/apps/xxxxxx/components'}" data-sly-unwrap></sly>
It works in the preview mode.when we go to edit mode, the page hangs up.please help me in this.
And also tell me other ways to pass resource to another component.
