Files
nodeMap/docs/redux/slices/urlParameterSlice.md
ISA b847b5d2c8 docs: Projektstruktur der Dokumentation an Quellcode angepasst
- Verzeichnisstruktur unter /docs spiegelt nun die tatsächliche Projektstruktur wider
- frontend/server-Trennung entfernt zugunsten von /docs/pages, /docs/redux, /docs/utils etc.
- Erhöht Wiederauffindbarkeit, Übersichtlichkeit und Entwicklerfreundlichkeit
2025-05-27 09:30:40 +02:00

18 lines
293 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 🌐 urlParameterSlice
Verwaltet `mapId` und `userId`, die aus der URL gelesen werden.
## 🔧 Zustand
```ts
{
mapId: null | string,
userId: null | string
}
```
## 🎯 Aktionen
- `setMapId(id)`
- `setUserId(id)`
- `setFromURL({ m, u })` gleichzeitig beide setzen aus URL-Params