How would PragDave separate this code?

Not all all.

I’m suggesting separating lifecycle concerns from functional concerns within the same codebase, that’s all.