This PR upgrades the existing forms to the new API, while leaving a copy for existing users. The current forms will be the default until RC4, at which point we will switch the default to the new API but still retain a link to the old forms API. After RC5 the old API docs will be completely removed.
		
			
				
	
	
		
			12 lines
		
	
	
		
			319 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			319 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
// #docregion
 | 
						|
import { bootstrap }    from '@angular/platform-browser-dynamic';
 | 
						|
import { disableDeprecatedForms, provideForms } from '@angular/forms';
 | 
						|
 | 
						|
import { AppComponent } from './app.component';
 | 
						|
 | 
						|
bootstrap(AppComponent, [
 | 
						|
  disableDeprecatedForms(),
 | 
						|
  provideForms()
 | 
						|
 ])
 | 
						|
 .catch((err: any) => console.error(err));
 |