I was watching this video by April Dunham where she shows how to use her calendar component and I noticed that she initializes variables within the component using the OnStart property of a timer that's set to auto start. This is a gamechanger to me because that means you can make components that don't require any code outside of them to set them up.
The problem is, when I've tried this trick myself in my own components the timer does not start. It only gets triggered by navigating to a screen with the component on it, but April's component initializes itself from the component screen and I haven't been able to replicate that. Does anybody know how to do this?? Any help would be great!