Collaborate with us
Edit this page on GitHub
'<OnRender action>' changes the <Screen | Block>'s data, which triggers the on render event again. To avoid infinite rendering loops, don't change screen or block data in '<OnRender action>'.
- The OnRender event occurs every time the screen or block data changes. If you change the screen or block data inside the OnRender action, you will trigger the OnRender action again, causing an infinite loop.
- Don't change screen or block data in the OnRender action.
Refreshing '<Aggregate | Data Action>' in '<OnAfterFetch action>' triggers the on after fetch event again. To avoid an infinite loop, remove the refresh of '<Aggregate | Data Action>' from '<OnAfterFetch action>'.
- The OnAfterFetch action of an Aggregate or Data Action runs right after it finishes fetching data. If you refresh the Aggregate or Data Action inside its own OnAfterFetch action, it will start fetching data again and run the OnAfterFetch action afterwards, causing an infinite loop.
- Remove the Aggregate or Data Action refresh from its own OnAfterFetch action.