poiTypState.js Recoil-Atom erstellt für jetzt und besonders für Zukünftige Skalierbarkeit

This commit is contained in:
ISA
2024-04-30 15:32:24 +02:00
parent f6a0a40a14
commit bd6ae82540
2 changed files with 40 additions and 28 deletions

7
store/poiTypState.js Normal file
View File

@@ -0,0 +1,7 @@
// store/poiTypState.js
import { atom } from 'recoil';
export const poiTypState = atom({
key: 'poiTypState', // eindeutiger Schlüssel
default: [], // Initialer Standardwert, leeres Array
});