Use the onRegister hook in the Mediator to tell the view
component when it is safe to start doing it's business. So, the
view component would have an init() method, and the mediator would
wire up it's listeners and then call view.init() in onRegister.
This would be the recommended approach.
Override preRegister. This hook is called as soon as the
mediator is created and hands responsibility over to the mediator
to decide when it is ready. The mediator calls onRegister on itself
when it has decided that the view component is ready. Make sure to
call super.preRegister, or onRegister in your override. This
approach feels hacky.
I highly recommend option 1. It's pretty bad practice for a view
component to start doing things the moment it is created - it
limits options for re-use, pooling etc.