Questions tagged [zone.js]

A Zone is an execution context that persists across async tasks. You can think of it as thread-local storage for JavaScript VMs.

Zone API is inspired by Dart and is developed along with Angular2.

https://github.com/angular/zone.js/

148 questions
0
votes
2 answers

consecutive XHR calls failed silently, Not sure about the reason.

following is my package.json { "name": "angular-io-example", "version": "1.0.0", "private": true, "description": "Example project from an angular.io guide.", "scripts": { "start": "webpack-dev-server --inline --progress --port…
ashish ghone
  • 69
  • 2
  • 8
0
votes
1 answer

Angular 2 view not updated after HTTP call

I'm experimenting with Angular 2 and I'm trying to do an http request with the built-in HTTP service: @Injectable() export class MyService { constructor(private http: Http) { } public get(): Observable { return…
Arnold Galovics
  • 3,246
  • 3
  • 22
  • 33
0
votes
1 answer

How to attach values to an execution context?

Imagine you have a global "execution context" service for logging (comparable to MDC) and two kinds of triggers like user interaction and web socket connection. We have a logger service, which uses the "execution context" for log messages. The user…
CSchulz
  • 10,882
  • 11
  • 60
  • 114
0
votes
0 answers

What is [Exception: ZoneAwareError] occured in Angular2 from Angular-cli?

$ng serve And some of the properties in my libraries are changed to [Exception: ZoneAwareError] What is that mean ?
Tomoaki Sato
  • 391
  • 1
  • 4
  • 5
0
votes
1 answer

Due to Zone.js in Angular Universal server rendering stops working. How to fix?

When in my requests for data I return simple JSON without connection to database the server rendering in Angular Universal works fine. However I have found that requests to MySQL database is not going if I don't have a proper version of Zone.js. I…
Kirill Ch
  • 5,496
  • 4
  • 44
  • 65
0
votes
1 answer

Angular 2 Material: "Expression was changed [..]" with mdInput

I've recently updated from the previous version of material angular to the newest one, and…
briosheje
  • 7,356
  • 2
  • 32
  • 54
0
votes
0 answers

Binding to height attribute produces error in IE

Binding the td.height attribute to a number produces a stack trace in IE11, but works in Firefox and Chrome. The bufferHeight variable is initialized to 30 bufferHeight: number; constructor() { …
Haximus
  • 1
  • 2
0
votes
2 answers

Use Angular 2 without Reflect.js and zone.js in Browser

I am trying to use Angular within an existing typescript project, where I am using browserify to bundle the actual app. Now, i have basically just rebuilt the app from the setup tutorial and managed to get it all…
nozzleman
  • 9,529
  • 4
  • 37
  • 58
-1
votes
1 answer

Change detection not happening with async await

1.showing a loader until API resolvers 2. After a getting API response, setting the loader flag to false, and trying to read the div inside flag 3. Flag value is updated but dom is not refreshed, so i dont have reference to a div inside a if…
2727
  • 39
  • 1
  • 7
-1
votes
3 answers

Dependency issue while upgrading to Angular 9 for jodit-angular

Getting the below error while trying to run the command npm install after the angular migration to version 9. Error npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: jodit-angular@1.9.4 npm ERR! Found:…
Newbie
  • 1,403
  • 2
  • 13
  • 22
-1
votes
1 answer

Error on password change in firebase collections

I have the following code: const password = changePasswordFrom.value.password; this._firebaseAuth.currentUser.then(user => { user?.updatePassword(password).then(() => { //some code }, error => { //error }); }); It is working…
-1
votes
2 answers

Angular 5 firebase not working

I updated my computer to High Sierra (clean install), after reinstall the angular-cli, and clone one of my previous project that uses Firebase and angularfirebase2 any operation of get data from firebase is not working. I got the following…
Jacobo
  • 1,259
  • 2
  • 19
  • 43
-1
votes
1 answer

Q: How to intercept GoogleMap's requestAnimationFrame using Zone.js

EDIT: I'm using Zone v0.8.20 Background: Google Maps triggers requestAnimationFrame when zooming out of the map and when panning, I want to intercept these requestAnimationFrame via Zone.js to debounce it and may be improve performance on mobile…
wbtubog
  • 164
  • 4
1 2 3
9
10