Hello,
currently we are developing react component for Spa editor. We are now facing with the issue how to display component in preview/publish mode when we are still on author instance.
The counterpart in sightly would <div data-sly-resource="${'path/to/resource' @ wcmmode='disabled'}"></div>
What is the right way to achieve that in SPA react component? I did not find any hint in the documentation.
Regards,
Pawel