Salesforce Certified Platform Developer II — Question 193
A developer creates an application event that has triggered an infinite loop.
What may have caused this problem?
Answer options
- A. The event handler calls a trigger
- B. The event has multiple handlers registered in the project
- C. An event is fired 'ontouchend' and is unhandled
- D. The event is fired from a custom renderer
Correct answer: D
Explanation
The correct answer is D because when an event is fired from a custom renderer, it can lead to unintended behavior such as infinite loops if not properly managed. Options A, B, and C may cause issues, but they do not directly relate to the specific scenario of an infinite loop caused by an event originating from a renderer.