Angular 2 havily dependent on buggy Zone.js
See original GitHub issueI’m submitting a … (check one with “x”)
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior Angular 2 is heavily dependent on buggy library Zone.js which overrides prototypes of global scope functions. The issue is described here http://stackoverflow.com/questions/38304111/angular-2-dependency-zone-js. In short using Angular 2 in one part of a big application affects another parts because of the Zone.js overridings.
Expected/desired behavior It should be possible to sandbox Zone.js to the part of the application where we want to use Angular 2. It was possible in Agular 1.x to bootstrap it for the part of the application.
Reproduction of the problem
What is the expected behavior?
What is the motivation / use case for changing the behavior? The use case is described in http://stackoverflow.com/questions/38304111/angular-2-dependency-zone-js. As a developer of one of the teams that work on a big project I want to be able to implement my module using Angular 2 without affecting other teams’ modules.
Please tell us about your environment:
- Angular version: 2.0.0-rc.3
- Browser: [all]
- Language: [all]
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:5 (2 by maintainers)
I agree, I think zone.js should only effect to angular inside and invisible to the outside.
Hi, for me it is critical issue.