Help Angular by taking a 1 minute survey!Go to surveyHome

enableProdMode

Disable Angular's development mode, which turns off assertions and other checks within the framework.

See more...

      
      enableProdMode(): void
    
Parameters

There are no parameters.

Returns

void

Description

One important assertion this disables verifies that a change detection pass does not result in additional changes to any bindings (also known as unidirectional data flow).