perf: TercihHaritasi dinamik + lazy sarmalayıcılara kapı/preload (Faz 3)
- tercih-haritasi-lazy: turkey-map-react il geometrisi (~197 KB) dynamic ssr:false + viewBox oranlı iskelet (CLS yok); /sonuc 1286->1099 KB, /listem 1503->1315 KB eager JS - manuel-harita: liste boşken harita hiç render edilmez (boş haritaya 197 KB iniyordu) — aynı oranlı placeholder alanı korur - program tablosu section'ına hover/focus preload (niyet anında ısıtma) - liste-cekmecesi/kaydet-banner/tercih-profili-kapisi lazy sarmalayıcıları kapı kazandı: koşul sağlanana dek chunk inmez; açan butonlara (listem-butonu, + butonu, navbar sıralama butonları) hover/focus preload - liste-cekmecesi: kullanılmayan DrawerDescription importu temizlendi Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,7 @@ import {
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { RaporListesi } from "./rapor-listesi";
|
||||
import { useGorunumOlayi } from "@/components/use-gorunum-olayi";
|
||||
import { TercihHaritasi } from "@/features/liste/components/tercih-haritasi";
|
||||
import { TercihHaritasiLazy } from "@/features/liste/components/tercih-haritasi-lazy";
|
||||
import { pinleriTuret } from "@/lib/harita-pinler";
|
||||
import type { RaporSonuc } from "@/features/rapor/types/rapor";
|
||||
import { SohbetClient, type DanismanOzeti, type Mesaj } from "./sohbet-client";
|
||||
@@ -92,7 +92,7 @@ export function ListemGovde({
|
||||
className="scroll-mt-24"
|
||||
>
|
||||
<div className="mx-auto w-full max-w-xl">
|
||||
<TercihHaritasi
|
||||
<TercihHaritasiLazy
|
||||
pinler={pinVerisi.pinler}
|
||||
seciliIl={seciliIl}
|
||||
onSeciliIlDegisti={setSeciliIl}
|
||||
|
||||
Reference in New Issue
Block a user