function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MG ConsultingMG Consulting 

Custom Component Controller Instainated Twice



Does anyone know under what circumstances a custom component's controller would be instainated twice? This custom component only appears once on the page. I have other custom components who's constructors only get instainated once as expected.


I have tried to root cause it by creating a blank custom component/controller combo and adding suspect functionality to it one by one, but have been unsuccessful thus far. 




MG ConsultingMG Consulting

Just giving this a hopeful little poke.


This issue is causing problems for me because I have logic in the constructor of my custom component controller that must only execute once per instance of the custom component on the page.


Any ideas's why two instances of the controller would be created for just one instance of the component?


Thanks again, Mike.


We are having this problem, too. Gee, I wish someone would address it.