perf: Add virtual scrolling

Attempting to improve table performance by only render visible dom elements.
This commit is contained in:
2025-08-06 01:18:35 +02:00
parent b5658ce37f
commit 8885b7c0db
4 changed files with 112 additions and 64 deletions

View File

@@ -1,3 +1,5 @@
import { ScrollingModule } from '@angular/cdk/scrolling'
import { CommonModule } from '@angular/common'
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'
import { NgModule } from '@angular/core'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
@@ -38,9 +40,11 @@ import { RemoveStyleTagsPipe } from './core/pipes/remove-style-tags.pipe'
],
bootstrap: [AppComponent], imports: [
BrowserModule,
CommonModule,
AppRoutingModule,
FormsModule,
ReactiveFormsModule,
ScrollingModule,
], providers: [provideHttpClient(withInterceptorsFromDi())],
})
export class AppModule { }