What is JIT and AOT compilation?

Just-in-Time (JIT), compiles your app in the browser at runtime. Ahead-of-Time (AOT), compiles your app at build time on the server. JIT compilation is the default when you run the ng build (build only) or ng serve (build and serve locally) CLI commands. This is for development.

Read more

What is dart2js?

The dart2js tool provides hints for improving your Dart code and removing unused code . Also see dart analyze , which performs a similar analysis but has a different implementation. This page tells you how to use dart2js on the command line. It also give tips on debugging the JavaScript that dart2js generates.

Read more