Reusable element page load gets triggered multiple times

I have a SINGLE PAGE APP, with multiple REUSABLE ELEMENTS

in each reusable element I have actions when page loads.

the “problem” is that the page load actions get triggered multiple times (at least twice) and I am obsessed to know why…plus I feel it might affect performance.

does anybody know the reason why the PAGE LOAD actions get triggered multiple times for reusable elements?

@petter

Do the any of the reusable elements contain any of the other reusable elements?

I had a similar issue a while ago, and it turned out it was due to that…

I had a pageload workflow running on a reusable element which was on the page, but the same reusable element was also inside another reusable element. Although not visible on the page it was still triggering the pageload workflow twice (as there were technically 2 instances of it on the page).

1 Like

You’re always on point. Magician. Thanks!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.