Exam PDII Topic 2 Question 81 Discussion
Actual exam question for Salesforce's PDII exam
Question #: 81
Topic #: 2
Question #: 81
Topic #: 2
A developer creates an application event that has triggered an infinite loop.
What may have caused this problem?
What may have caused this problem?
Suggested Answer: A Vote an answer
The problem that may have caused an infinite loop when creating an application event is that the event is fired from a custom renderer. A custom renderer is a JavaScript file that overrides the default rendering behavior of a component. If the custom renderer fires an application event, it may trigger a re-rendering of the component or other components that handle the event. This may cause the event to be fired again, creating an infinite loop. The event having multiple handlers registered in the project, the event handler calling a trigger, or an event being fired 'ontouchend' and being unhandled are not likely to cause an infinite loop. Reference: [Application Events], [Custom Renderers]
by Jessie at Jul 04, 2026, 06:38 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).