Skip to content

Examples about NgZone and how to improve UI events performance.

License

Notifications You must be signed in to change notification settings

jcarloslr10/NgZone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optimization-UI-Events-NgZone

Angular (5.0.0-rc.2) samples using NgZone to improve performance when your application works with UI events (async task in general).

You can see several sample applications, a basic one that explains the relationship of NgZone with the Angular change detector which uses a 'noop' Zone to run the application without NgZone, and two other applications using NgZone that work with mouse events simulating drag & drop. The first one is not optimized with NgZone and the second one is.

Prerequisites

  • NodeJS - The package manager to install dependencies
  • VSCode - To view the code of the samples
  • Git - To get the code of the samples

Installing and Running

Install dependencies:

npm install

Run in development environment:

ng serve

Run in production environment: N/A yet (TODO)

Demos

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Examples about NgZone and how to improve UI events performance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published