Skip to content

Commit

Permalink
Reinstated zone.js
Browse files Browse the repository at this point in the history
  • Loading branch information
iancharlesdouglas committed Jun 23, 2024
1 parent 52501c5 commit 7984152
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified .nx/cache/nx_files.nxt
Binary file not shown.
2 changes: 1 addition & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"outputPath": "dist/ng-realworld-ssr",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [],
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": ["src/favicon.ico", "src/assets", "src/manifest.webmanifest", "src/manifest.webmanifest"],
Expand Down
4 changes: 2 additions & 2 deletions src/app/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ApplicationConfig, isDevMode, provideExperimentalZonelessChangeDetection } from '@angular/core';
import { ApplicationConfig, isDevMode } from '@angular/core';
import { provideRouter } from '@angular/router';
import { routes } from './app.routes';
import { provideClientHydration } from '@angular/platform-browser';
Expand All @@ -16,7 +16,7 @@ export const appConfig: ApplicationConfig = {
enabled: !isDevMode(),
registrationStrategy: 'registerWhenStable:30000',
}),
provideExperimentalZonelessChangeDetection(),
// TODO - take out zone.js later -- provideExperimentalZonelessChangeDetection(),
[{ provide: StateService, useFactory: () => new StateService() }],
],
};

0 comments on commit 7984152

Please sign in to comment.