How to set onPush as the default change detection strategy for new Angular components?
Most angular components I create are generated using the angular CLI. Every time I had to set the change detection to onPush after the component has been created. I know there is an option to set it as the default, but I was lazy to search and set it...
Sep 7, 20202 min read3.1K