DEV Community

Discussion on: Compile-time vs. Runtime configuration of your Angular App

Collapse
 
jonyeezs profile image
Jonathan Yee

Yeah I agree. Any work should be done via app_init. I find it weird to have any code in a module's ctor. I struggled to find an argument not to do work in the ctor