withTimers mixin for handling timers within a view-like's lifecycle