refactor(hooks): useMapComponentState vollständig auf Redux umgestellt
- fetch-Aufrufe entfernt und durch Redux-Selektoren ersetzt - poiTypData über poiTypSlice + fetchPoiTypThunk geladen - locationDeviceData über gisStationsStaticDistrictThunk - priorityConfig über Redux mit fetchPriorityConfigThunk integriert - poiLayerVisible direkt aus Redux-State gelesen - Version auf 1.1.173 erhöht
This commit is contained in:
35
CHANGELOG.md
35
CHANGELOG.md
@@ -4,6 +4,41 @@ Alle bedeutenden Änderungen an diesem Projekt werden in dieser Datei dokumentie
|
||||
|
||||
---
|
||||
|
||||
[1.1.173] – 2025-05-26
|
||||
♻️ Refactor
|
||||
useMapComponentState.js vollständig auf Redux umgestellt:
|
||||
|
||||
Entfernt: lokale fetch(...)-Aufrufe
|
||||
|
||||
Redux-Integration für:
|
||||
|
||||
poiTypData → über poiTypSlice + fetchPoiTypThunk
|
||||
|
||||
locationDeviceData → über gisStationsStaticDistrictSlice + fetchGisStationsStaticDistrictThunk
|
||||
|
||||
priorityConfig → über priorityConfigSlice + fetchPriorityConfigThunk
|
||||
|
||||
poiLayerVisible → direkter Zugriff über Redux-Zustand
|
||||
|
||||
🧠 Architektur
|
||||
useMapComponentState.js ist jetzt rein selektorbasiert
|
||||
|
||||
Standardstruktur Service → Thunk → Slice vollständig eingehalten
|
||||
|
||||
Komponente reagiert nur noch auf Redux-Status (z. B. poiTypStatus === "succeeded")
|
||||
|
||||
✅ Cleanup
|
||||
useState() für priorityConfig und locationDeviceData entfernt
|
||||
|
||||
deviceName wird direkt aus Redux-Daten abgeleitet
|
||||
|
||||
Selektor für poiLayerVisible wird direkt inline verwendet
|
||||
|
||||
🔧 Version
|
||||
📦 Version erhöht auf 1.1.173
|
||||
|
||||
---
|
||||
|
||||
## [1.1.166] – 2025-05-25
|
||||
|
||||
### 🐞 Fixed
|
||||
|
||||
Reference in New Issue
Block a user