-
Notifications
You must be signed in to change notification settings - Fork 638
Description
Description
This is the final step in the zoneless migration (Parent Issue: #4106). Once all components are migrated to OnPush and tests are updated, we will flip the global switch to enable zoneless change detection.
Tasks
-
Enable Provider:
Insrc/app/app.config.ts, addprovideZonelessChangeDetection()to the providers list. -
Remove Polyfill:
Inangular.json, remove"zone.js"from thepolyfillsarray under thebuildtarget. -
Update Test Setup:
Insrc/app/testing/jest-setup.ts, removesetupZoneTestEnv()and configure the test environment for zoneless execution. -
Verify 3rd Party Libraries:
Pay special attention to the following libraries during manual verification to ensure they update the UI correctly without Zone.js:ngx-markdown@materia-ui/ngx-monaco-editorngx-json-treeview
-
Verify Application:
Run the application and ensure change detection works as expected withoutzone.js. -
Verify Tests:
Run all tests to ensure the suite passes in a zoneless environment.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status