poiTypState.js Recoil-Atom erstellt für jetzt und besonders für Zukünftige Skalierbarkeit
This commit is contained in:
7
store/poiTypState.js
Normal file
7
store/poiTypState.js
Normal 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
|
||||
});
|
||||
Reference in New Issue
Block a user