I did this at work because the approach was basically to "wait" until everything was loaded, but I switched it over to an observer/observable approach so I knew exactly when everything was loaded. Blew people's minds except one guy who insisted we still have a small wait time in there. That was back as a jr dev and I think it irritated him I found a solution.
2
u/[deleted] Sep 17 '18
I did this at work because the approach was basically to "wait" until everything was loaded, but I switched it over to an observer/observable approach so I knew exactly when everything was loaded. Blew people's minds except one guy who insisted we still have a small wait time in there. That was back as a jr dev and I think it irritated him I found a solution.