Browse Source
Task/set change detection strategy to OnPush in home market component (#7277)
* Set change detection strategy to OnPush
* Update changelog
pull/7284/head
Arjun jaiswal
5 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
3 additions and
0 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/home-market/home-market.component.ts
|
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Changed |
|
|
|
|
|
|
|
- Migrated the deprecated `@nx/webpack:webpack` executor to `@nx/webpack/plugin` |
|
|
|
- Set the change detection strategy to `OnPush` in the markets overview |
|
|
|
|
|
|
|
## 3.22.0 - 2026-07-08 |
|
|
|
|
|
|
|
|
|
|
|
@ -14,6 +14,7 @@ import { GfLineChartComponent } from '@ghostfolio/ui/line-chart'; |
|
|
|
import { DataService } from '@ghostfolio/ui/services'; |
|
|
|
|
|
|
|
import { |
|
|
|
ChangeDetectionStrategy, |
|
|
|
ChangeDetectorRef, |
|
|
|
Component, |
|
|
|
computed, |
|
|
|
@ -27,6 +28,7 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; |
|
|
|
import { DeviceDetectorService } from 'ngx-device-detector'; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
changeDetection: ChangeDetectionStrategy.OnPush, |
|
|
|
imports: [ |
|
|
|
GfBenchmarkComponent, |
|
|
|
GfFearAndGreedIndexComponent, |
|
|
|
|