Skip to Content
1
Sep 19, 2023 at 04:42 PM

Smartedit refresh frontend components

91 Views

I have components that are mostly render its content via Javascript code. The component initially looks fine in SmartEdit when the page is loaded. However, when the component is edited, it is no longer able to render itself. I think SmartEdit reloads the component from the backend but is not capable of rendering the component when it heavily relies on client-side code. There must be some kind of event (I hope) that I can intercept after a component is refreshed so I can trigger the client-side rendering of my component.

I am using SAP Commerce 2211 with accelarator storefront.